diff options
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index cb9c7a87f..febe6b9a0 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -521,9 +521,9 @@ class YUMng(Bcfg2.Client.Tools.PkgTool): package_fail = True stat['version_fail'] = True # Just chose the first pkg for the error message - entry.set('current_version', "%s-%s.%s" % (POs[0]['version'], - POs[0]['release'], - POs[0]['arch'])) + entry.set('current_version', "%s-%s.%s" % (POs[0].version, + POs[0].release, + POs[0].arch)) entry.set('version', "%s-%s.%s" % (nevra['version'], nevra['release'], nevra['arch'])) |