From bf99f97eba4a12c0889b75522f7f41b6b349a496 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Tue, 1 Mar 2016 21:37:42 -0800 Subject: [PATCH] print out detail files in sorted order --- tldp/sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tldp/sources.py b/tldp/sources.py index afd9849..22a197d 100644 --- a/tldp/sources.py +++ b/tldp/sources.py @@ -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) #