remove has_key (not working in python3)

This commit is contained in:
Tomas Kopecek 2017-03-01 14:57:06 +01:00 committed by Mike McLean
parent 882316c298
commit cc9fff9840
19 changed files with 182 additions and 183 deletions

View file

@ -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: