summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-02-11 09:58:55 -0500
committerJesse Keating <jkeating@redhat.com>2008-02-11 09:58:55 -0500
commit4238180ef7c1df6b20368a8ee38ee7f369dfa7a8 (patch)
tree97914ba55c223dee06c22021d2911fa07beaa6ab
parent33317125225d44f75485fd7603c5977482b5e96f (diff)
downloadreleng-4238180ef7c1df6b20368a8ee38ee7f369dfa7a8.tar.gz
releng-4238180ef7c1df6b20368a8ee38ee7f369dfa7a8.tar.xz
releng-4238180ef7c1df6b20368a8ee38ee7f369dfa7a8.zip
Use and instead of or.
-rwxr-xr-xscripts/need-rebuild-gcc43.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/need-rebuild-gcc43.py b/scripts/need-rebuild-gcc43.py
index a1d9b9d..349fd05 100755
--- a/scripts/need-rebuild-gcc43.py
+++ b/scripts/need-rebuild-gcc43.py
@@ -28,7 +28,7 @@ for build in tocheck:
if not build['task_id']:
rpms = kojisession.listRPMs(buildID=build['build_id'])
for rpm in rpms:
- if rpm['arch'] != 'src' or rpm['arch'] != 'noarch':
+ if rpm['arch'] != 'src' and rpm['arch'] != 'noarch':
needbuild.append(build)
continue
continue