diff options
author | Jesse Keating <jkeating@redhat.com> | 2008-02-04 20:51:33 -0500 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2008-02-04 20:51:33 -0500 |
commit | adc10faa8c1130360894bc27a512a446a0b2c71a (patch) | |
tree | 3555aeb81a183748369bbb047fe23739627d958c /scripts/need-rebuild-gcc43.py | |
parent | c70436aea360ef118fb7963a5b2aececd57d4590 (diff) | |
download | releng-adc10faa8c1130360894bc27a512a446a0b2c71a.tar.gz releng-adc10faa8c1130360894bc27a512a446a0b2c71a.tar.xz releng-adc10faa8c1130360894bc27a512a446a0b2c71a.zip |
Handle imported builds without a task.
Diffstat (limited to 'scripts/need-rebuild-gcc43.py')
-rwxr-xr-x | scripts/need-rebuild-gcc43.py | 3 |
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 |