yum: fixed ERROR_SIGNATURE_NOT_IMPORTED traceback
This commit is contained in:
parent
6cd35215bc
commit
9da4e603c4
@ -915,7 +915,7 @@ class PackageKitYumBackend(PackageKitBaseBackend):
|
||||
keyData['fingerprint'],
|
||||
keyData['timestamp'],
|
||||
'GPG')
|
||||
self.error(ERROR_SIGNATURE_NOT_IMPORTED,"GPG key not imported.")
|
||||
self.error(ERROR_GPG_FAILURE,"GPG key not imported.")
|
||||
except yum.Errors.YumBaseError, ye:
|
||||
retmsg = "Error in Transaction Processing;" +";".join(ye.value)
|
||||
self.error(ERROR_TRANSACTION_ERROR,retmsg)
|
||||
|
Loading…
Reference in New Issue
Block a user