mirror of https://github.com/tLDP/python-tldp
a bit more info, when --verbose
This commit is contained in:
parent
59bcafb874
commit
853aec028b
|
@ -200,6 +200,8 @@ class SourceDocument(object):
|
||||||
outstr = template.format(s=self, w=widths)
|
outstr = template.format(s=self, w=widths)
|
||||||
print(outstr, file=file)
|
print(outstr, file=file)
|
||||||
if verbose:
|
if verbose:
|
||||||
|
print(' doctype {}'.format(self.doctype), file=file)
|
||||||
|
print(' filename {}'.format(self.filename), file=file)
|
||||||
for f in sorted(self.newer):
|
for f in sorted(self.newer):
|
||||||
fname = os.path.join(self.dirname, f)
|
fname = os.path.join(self.dirname, f)
|
||||||
print(' newer source {}'.format(fname), file=file)
|
print(' newer source {}'.format(fname), file=file)
|
||||||
|
|
Loading…
Reference in New Issue