PR#3694: fix condition
Merges #3694 https://pagure.io/koji/pull-request/3694 Relates: #3693 https://pagure.io/koji/issue/3693 Fix query for getRPMChecksums
This commit is contained in:
commit
2a99974134
1 changed files with 2 additions and 1 deletions
|
|
@ -12380,7 +12380,8 @@ class RootExports(object):
|
|||
missing_chsum_sigkeys[r['sigkey']].remove(
|
||||
koji.CHECKSUM_TYPES[r['checksum_type']])
|
||||
# delete key if everything was removed
|
||||
if len(missing_chsum_sigkeys[r['sigkey']]):
|
||||
if not missing_chsum_sigkeys[r['sigkey']]:
|
||||
print(f'deleting {r["sigkey"]}')
|
||||
del missing_chsum_sigkeys[r['sigkey']]
|
||||
|
||||
if missing_chsum_sigkeys:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue