[Qa-jenkins-scm] [jenkins.debian.net] 05/06: reproducible: remote_scheduler: fix the "build is already started, not scheduling" logic
Holger Levsen
holger at moszumanska.debian.org
Sun Jun 14 20:37:02 UTC 2015
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 84d0ae764a0f0c4f5527411b0abdb3cfadc0ad73
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Sun Jun 14 20:13:51 2015 +0200
reproducible: remote_scheduler: fix the "build is already started, not scheduling" logic
---
bin/reproducible_remote_scheduler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 6a6724f..cd5845c 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -105,7 +105,7 @@ for pkg in packages:
# tests whether the package is already building
result2 = query_db(query2.format(pkg=pkg, suite=suite))
try:
- if result2[0][0] != '':
+ if not result2[0][0]:
ids.append(result[0][0])
pkgs.append(pkg)
else:
--
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