diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-14 20:13:51 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-14 22:36:07 +0200 |
commit | 84d0ae764a0f0c4f5527411b0abdb3cfadc0ad73 (patch) | |
tree | 3f8e7762702737dd7740166f2e746be5ac1f7cc1 /bin | |
parent | 54b196c4f43bba4e9e2b6d370e2f301a5a7c1831 (diff) | |
download | jenkins.debian.net-84d0ae764a0f0c4f5527411b0abdb3cfadc0ad73.tar.xz |
reproducible: remote_scheduler: fix the "build is already started, not scheduling" logic
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index 6a6724fd..cd5845ca 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: |