bodhi / backend / koji sync: minor syntax fixes

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-11-08 13:12:35 -08:00
parent d60d7a0e50
commit e859a68d95

View file

@ -373,9 +373,9 @@ def set_koji_ownership(tag, namespace, packages, arches, verbose=False):
namespace == 'flatpaks'
and not pkg.startswith('flatpak-')
and not pkg.endswith('-flatpak')
):
):
koji_pkg = pkg + '-flatpak'
else
else:
koji_pkg = pkg
# When the user is created in fedora infra, they wont be added to koji
# until they logged into koji for the first time