From cfd54d4524ae995bcce2a7f1a3a72527606c6e0e Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Mon, 22 Feb 2016 13:04:26 -0800 Subject: [PATCH] pep8 fixes --- tldp/sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tldp/sources.py b/tldp/sources.py index d39c157..9b30daa 100644 --- a/tldp/sources.py +++ b/tldp/sources.py @@ -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: