lowercase sigkeys during import/query where needed
Fixes: https://pagure.io/koji/issue/2434
This commit is contained in:
parent
74cfb46086
commit
0eec5acd34
2 changed files with 4 additions and 2 deletions
|
|
@ -1524,7 +1524,7 @@ def handle_write_signed_rpm(goptions, session, args):
|
|||
parser.error(_("A signature key must be specified"))
|
||||
if len(args) < 2 and not (options.all or options.buildid):
|
||||
parser.error(_("At least one RPM must be specified"))
|
||||
key = args.pop(0)
|
||||
key = args.pop(0).lower()
|
||||
activate_session(session, goptions)
|
||||
if options.all:
|
||||
rpms = session.queryRPMSigs(sigkey=key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue