commit 85e73bb7d478160990acbc30da620d05386072cf Author: Richard Hughes Date: Wed Aug 6 10:55:35 2008 +0100 yum: fix up the GPG key reporting now that the yum API has changed to make public_key.fingerprint a function diff --git a/backends/yum/helpers/yumBackend.py b/backends/yum/helpers/yumBackend.py index 05ff633..57607c9 100644 --- a/backends/yum/helpers/yumBackend.py +++ b/backends/yum/helpers/yumBackend.py @@ -1065,7 +1065,7 @@ class PackageKitYumBackend(PackageKitBaseBackend): self.error(ERROR_BAD_GPG_SIGNATURE, "GPG key not imported, and no GPG information was found.") id = self._pkg_to_id(keyData['po']) - fingerprint = keyData['fingerprint'] + fingerprint = keyData['fingerprint']() hex_fingerprint = "%02x" * len(fingerprint) % tuple(map(ord, fingerprint)) # Borrowed from http://mail.python.org/pipermail/python-list/2000-September/053490.html