Bugfix, .sort() returns None.
This commit is contained in:
parent
ea8250ba55
commit
7c5b49c7b5
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ def set_koji_ownership(pkgs_to_ownership, arches):
|
||||||
for p in session.listPackages(tagID=tag, inherited=True):
|
for p in session.listPackages(tagID=tag, inherited=True):
|
||||||
koji_pkgs[p['package_name']] = p
|
koji_pkgs[p['package_name']] = p
|
||||||
|
|
||||||
for pkg in pkgs_to_ownership.keys().sort():
|
for pkg in sorted(pkgs_to_ownership.keys()):
|
||||||
owner = pkgs[pkg]
|
owner = pkgs[pkg]
|
||||||
|
|
||||||
if owner not in koji_users:
|
if owner not in koji_users:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue