pep8/pyflakes fixes

This commit is contained in:
Martin A. Brown 2016-03-10 11:17:09 -08:00
parent 793a810b8f
commit f7505627a5
6 changed files with 10 additions and 8 deletions

View File

@ -14,6 +14,7 @@ logger = logging.getLogger(__name__)
DEFAULT_CONFIGFILE = '/etc/ldptool/ldptool.ini'
def collectconfiguration(tag, argv):
ap = DefaultFreeArgumentParser()

View File

@ -7,7 +7,7 @@ import logging
from tldp.utils import which
from tldp.utils import arg_isexecutable, isexecutable
from tldp.doctypes.common import BaseDoctype, depends
from tldp.doctypes.common import depends
from tldp.doctypes.docbook4xml import Docbook4XML
logger = logging.getLogger(__name__)

View File

@ -528,6 +528,7 @@ def handleArgs(config, args):
return "Fell through handleArgs(); programming error."
def run(argv):
# -- may want to see option parsing, so set --loglevel as
# soon as possible