mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
python: remove star imports
Star imports are discouraged and break pyflakes. I'm happy to report that pyflakes finds no issues ;)
This commit is contained in:
@@ -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 = '''\
|
||||
|
||||
@@ -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 ' -- '
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user