summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-02 20:26:32 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-18 10:04:44 -0400
commit1c6c3ef0bfca3be3cd467adba52f5a235b3ab163 (patch)
tree53c01aeb69c55bdfa5e18ed226eac64991584e5d
parent0689f766dca5b83443fe0990846478059244d123 (diff)
downloadsystemd-1c6c3ef0bfca3be3cd467adba52f5a235b3ab163.tar.gz
python: remove star imports
Star imports are discouraged and break pyflakes. I'm happy to report that pyflakes finds no issues ;)
-rwxr-xr-xtools/make-directive-index.py2
-rwxr-xr-xtools/make-man-index.py2
-rwxr-xr-xtools/make-man-rules.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 1b287997fa..f9203ddd1a 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -21,7 +21,7 @@
import sys
import collections
import re
-from xml_helper import *
+from xml_helper import xml_parse, xml_print, tree
from copy import deepcopy
TEMPLATE = '''\
diff --git a/tools/make-man-index.py b/tools/make-man-index.py
index abc33e7394..0618e2e677 100755
--- a/tools/make-man-index.py
+++ b/tools/make-man-index.py
@@ -22,7 +22,7 @@
import collections
import sys
import re
-from xml_helper import *
+from xml_helper import xml_parse, xml_print, tree
MDASH = ' — ' if sys.version_info.major >= 3 else ' -- '
diff --git a/tools/make-man-rules.py b/tools/make-man-rules.py
index da94d3eabe..e0f18d6fbe 100755
--- a/tools/make-man-rules.py
+++ b/tools/make-man-rules.py
@@ -23,7 +23,7 @@ import collections
import sys
import os.path
import pprint
-from xml_helper import *
+from xml_helper import xml_parse
def man(page, number):
return '{}.{}'.format(page, number)