a bit more info, when --verbose

This commit is contained in:
Martin A. Brown 2016-03-07 09:04:25 -08:00
parent 59bcafb874
commit 853aec028b
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ class SourceDocument(object):
outstr = template.format(s=self, w=widths)
print(outstr, file=file)
if verbose:
print(' doctype {}'.format(self.doctype), file=file)
print(' filename {}'.format(self.filename), file=file)
for f in sorted(self.newer):
fname = os.path.join(self.dirname, f)
print(' newer source {}'.format(fname), file=file)