try again just call md5_constructor
This commit is contained in:
parent
6b4005f83a
commit
4e2a652dff
5 changed files with 8 additions and 8 deletions
2
cli/koji
2
cli/koji
|
|
@ -1173,7 +1173,7 @@ def handle_import_sig(options, session, args):
|
|||
previous = session.queryRPMSigs(rpm_id=rinfo['id'], sigkey=sigkey)
|
||||
assert len(previous) <= 1
|
||||
if previous:
|
||||
sighash = md5_constructor.new(sighdr).hexdigest()
|
||||
sighash = md5_constructor(sighdr).hexdigest()
|
||||
if previous[0]['sighash'] == sighash:
|
||||
print _("Signature already imported: %s") % path
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue