Verified Commit 371b48d3 authored by Adam Mercer's avatar Adam Mercer
Browse files

workaround koji.add_pkg() not passing --owner

need to fix this properly
parent 88770c3c
......@@ -44,6 +44,8 @@ def list_pkgs(*args, **kwargs):
def add_pkg(*args, **kwargs):
# FIXME: this needs to be updated to automatically pass --owner in the
# appropriate place
return _koji_call('add-pkg', *args, **kwargs)
......@@ -120,7 +120,9 @@ def main():
logger.critical("owner not specified")
koji.add_pkg(args.owner, pkg_name, logger=logger)
# FIXME: need to update koji.add_pkg() to pass --owner in the
# appropriate place
koji.add_pkg('--owner', args.owner, pkg_name, logger=logger)
except subprocess.CalledProcessError as e:
logger.critical("unable to regsiter package: %s" % e)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment