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