From fc98097b0eb67b895f57c41208f82499cbcdb8fa Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Wed, 22 Jun 2016 14:53:32 -0400 Subject: [PATCH] Printing error messages in sorted order --- bin/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/util.py b/bin/util.py index 7d18e6c..b2d66dc 100644 --- a/bin/util.py +++ b/bin/util.py @@ -51,7 +51,7 @@ def report(self, stream=sys.stdout): if not self.messages: return - for m in self.messages: + for m in sorted(self.messages): print(m, file=stream)