pep8 fixes

This commit is contained in:
Martin A. Brown 2016-02-22 13:04:26 -08:00
parent 4e07f2a52f
commit cfd54d4524
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from .typeguesser import guess, knownextensions
def scansourcedirs(dirnames):
'''return a dict() of all SourceDocuments discovered in dirnames
dirnames: a list of directories containing SourceDocuments.
scansourcedirs ensures it is operating on the absolute filesystem path for
each of the source directories.
@ -86,7 +86,7 @@ def sourcedoc_fromdir(dirname):
if os.path.isfile(possible):
candidates.append(possible)
if len(candidates) > 1:
logger.warning("%s multiple document choices in dir %s, bailing....",
logger.warning("%s multiple document choices in dir %s, bailing....",
stem, dirname)
raise Exception("multiple document choices in " + dirname)
elif len(candidates) == 0: