From 1f909bca4dd16667187b412da82e8bdedf28448f Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Thu, 4 Aug 2011 08:37:51 +0000 Subject: [PATCH] Sort dependency list when outputting an excuse. Signed-off-by: Adam D. Barratt --- excuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/excuse.py b/excuse.py index f5021d8..52178f5 100644 --- a/excuse.py +++ b/excuse.py @@ -133,7 +133,7 @@ class Excuse: (self.daysold, self.mindays)) for x in self.htmlline: res = res + "
  • " + x + "\n" - for x in self.deps: + for x in sorted(self.deps): if x in self.invalid_deps: res = res + "
  • Depends: %s %s (not considered)\n" % (self.name, x, x) else: