[Reproducible-commits] [misc] 01/04: clean-notes: sort bugs before parsing them

Mattia Rizzolo mattia at mapreri.org
Wed Jun 24 14:35:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch master
in repository misc.

commit b65fffe38cff61723312a484fb1d26c3c6f7e700
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Wed Jun 24 13:38:18 2015 +0000

    clean-notes: sort bugs before parsing them
---
 clean-notes | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clean-notes b/clean-notes
index ff1f66a..7b046fe 100755
--- a/clean-notes
+++ b/clean-notes
@@ -352,8 +352,8 @@ def parse_bugs(bugs):
 
 
 def join_notes_bugs(notes, bugs):
-    for package in bugs:
-        for bug in bugs[package]['bugs']:
+    for package in sorted(bugs):
+        for bug in sorted(bugs[package]['bugs']):
             try:
                 if 'bugs' in notes[package]:
                     if bug not in notes[package]['bugs']:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list