Only display filename if imported

This commit is contained in:
Bob Mottram 2014-04-26 15:14:16 +01:00
parent 7b47979202
commit d7ce6ebeed

View File

@ -153,7 +153,9 @@ def jargonReadFile(filename, exclusions, outputDir):
saneBodyText = jargonSaneText(parser.title, parser.bodyText)
parser.title = jargonSaneTitle(parser.title)
if not parser.title in exclusions:
print jargonCreateEntry(parser.title, saneBodyText, outputDir)
entryFilename = jargonCreateEntry(parser.title, saneBodyText, outputDir)
if entryFilename is not '':
print entryFilename
# read original jargon file entries to be excluded
def jargonReadExclusions(filename):