From 84d0ae764a0f0c4f5527411b0abdb3cfadc0ad73 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 14 Jun 2015 20:13:51 +0200 Subject: 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(-) (limited to 'bin/reproducible_remote_scheduler.py') 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: -- cgit v1.2.3-70-g09d2