mirror of https://github.com/tLDP/python-tldp
print out detail files in sorted order
This commit is contained in:
parent
51250d4a47
commit
bf99f97eba
|
@ -198,11 +198,11 @@ 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:
|
||||||
for f in 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)
|
||||||
if self.output:
|
if self.output:
|
||||||
for f in self.output.missing:
|
for f in sorted(self.output.missing):
|
||||||
print(' missing output {}'.format(f), file=file)
|
print(' missing output {}'.format(f), file=file)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue