summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-02-04 20:51:33 -0500
committerJesse Keating <jkeating@redhat.com>2008-02-04 20:51:33 -0500
commitadc10faa8c1130360894bc27a512a446a0b2c71a (patch)
tree3555aeb81a183748369bbb047fe23739627d958c
parentc70436aea360ef118fb7963a5b2aececd57d4590 (diff)
downloadreleng-adc10faa8c1130360894bc27a512a446a0b2c71a.tar.gz
releng-adc10faa8c1130360894bc27a512a446a0b2c71a.tar.xz
releng-adc10faa8c1130360894bc27a512a446a0b2c71a.zip
Handle imported builds without a task.
-rwxr-xr-xscripts/need-rebuild-gcc43.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/need-rebuild-gcc43.py b/scripts/need-rebuild-gcc43.py
index ae6829f..fb4966c 100755
--- a/scripts/need-rebuild-gcc43.py
+++ b/scripts/need-rebuild-gcc43.py
@@ -20,6 +20,9 @@ checknum = len(tocheck)
for build in tocheck:
print "Checking %s (%s of %s)" % (build['nvr'], tocheck.index(build)+1, checknum)
+ if not build['task_id']:
+ needbuild.append(build)
+ continue
for task in kojisession.getTaskChildren(build['task_id']):
if build in needbuild:
continue