remove has_key (not working in python3)
This commit is contained in:
parent
882316c298
commit
cc9fff9840
19 changed files with 182 additions and 183 deletions
|
|
@ -129,7 +129,7 @@ class RunRootTask(tasks.BaseTaskHandler):
|
|||
#pick the first suitable match from tag's archlist
|
||||
for br_arch in tag_arches.split():
|
||||
br_arch = koji.canonArch(br_arch)
|
||||
if host_arches.has_key(br_arch):
|
||||
if br_arch in host_arches:
|
||||
#we're done
|
||||
break
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue