try again just call md5_constructor

This commit is contained in:
Dennis Gilmore 2009-02-16 13:41:36 -06:00
parent 6b4005f83a
commit 4e2a652dff
5 changed files with 8 additions and 8 deletions

View file

@ -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