print out detail files in sorted order

This commit is contained in:
Martin A. Brown 2016-03-01 21:37:42 -08:00
parent 51250d4a47
commit bf99f97eba
1 changed files with 2 additions and 2 deletions

View File

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