[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: correctly skip only this package with continue, instead of halting all the processing with a break

Holger Levsen holger at moszumanska.debian.org
Wed Apr 6 10:21:20 UTC 2016


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit fed8922352bbba91f35dd887165624de1a3b3996
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Apr 6 10:16:53 2016 +0000

    reproducible: correctly skip only this package with continue, instead of halting all the processing with a break
---
 bin/reproducible_json.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py
index 8d15030..ec2bddb 100755
--- a/bin/reproducible_json.py
+++ b/bin/reproducible_json.py
@@ -65,7 +65,7 @@ for row in result:
             # if version1 > version2,
             # skip the package results we are currently inspecting
             if (versionscompared > 0):
-                break
+                continue
 
             # if version1 < version2,
             # delete the package results with the older version

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list