Blame SOURCES/0034-python-semanage-Sort-imports-in-alphabetical-order.patch

76f137
From 4b0e627d42f9a8e09dcd064a6ae897f4c2e9cf6c Mon Sep 17 00:00:00 2001
76f137
From: Vit Mojzis <vmojzis@redhat.com>
76f137
Date: Wed, 6 Jan 2021 10:00:07 +0100
76f137
Subject: [PATCH] python/semanage: Sort imports in alphabetical order
76f137
76f137
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
76f137
---
76f137
 python/semanage/semanage | 8 ++++----
76f137
 1 file changed, 4 insertions(+), 4 deletions(-)
76f137
76f137
diff --git a/python/semanage/semanage b/python/semanage/semanage
76f137
index 1abe3536..781e8645 100644
76f137
--- a/python/semanage/semanage
76f137
+++ b/python/semanage/semanage
76f137
@@ -23,10 +23,12 @@
76f137
 #
76f137
 #
76f137
 
76f137
-import traceback
76f137
 import argparse
76f137
-import sys
76f137
 import os
76f137
+import re
76f137
+import sys
76f137
+import traceback
76f137
+
76f137
 PROGNAME = "selinux-python"
76f137
 try:
76f137
     import gettext
76f137
@@ -786,8 +788,6 @@ def setupExportParser(subparsers):
76f137
     exportParser.add_argument('-f', '--output_file', dest='output_file', action=SetExportFile, help=_('Output file'))
76f137
     exportParser.set_defaults(func=handleExport)
76f137
 
76f137
-import re
76f137
-
76f137
 
76f137
 def mkargv(line):
76f137
     dquote = "\""
76f137
-- 
76f137
2.29.2
76f137