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