From 1c6c3ef0bfca3be3cd467adba52f5a235b3ab163 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 2 Jul 2017 20:26:32 -0400 Subject: [PATCH] python: remove star imports Star imports are discouraged and break pyflakes. I'm happy to report that pyflakes finds no issues ;) --- tools/make-directive-index.py | 2 +- tools/make-man-index.py | 2 +- tools/make-man-rules.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py index 1b28799..f9203dd 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 abc33e7..0618e2e 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 da94d3e..e0f18d6 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) -- 2.7.4