[PATCH 3/3] Get size + summary from yum package object instead of callback key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/yuminstall.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 93f980a..1aa9d72 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -162,12 +162,12 @@ class AnacondaCallback:
 
             if self.anaconda.upgrade:
                 s = to_unicode(_("<b>Upgrading %(pkgStr)s</b> (%(size)s)\n")) \
-                        % {'pkgStr': pkgStr, 'size': size_string(hdr['size'])}
+                    % {'pkgStr': pkgStr, 'size': size_string(po.installedsize)}
             else:
                 s = to_unicode(_("<b>Installing %(pkgStr)s</b> (%(size)s)\n")) \
-                        % {'pkgStr': pkgStr, 'size': size_string(hdr['size'])}
+                    % {'pkgStr': pkgStr, 'size': size_string(po.installedsize)}
 
-            summary = to_unicode(gettext.ldgettext("redhat-dist", hdr['summary'] or ""))
+            summary = to_unicode(gettext.ldgettext("redhat-dist", po.summary] or ""))
             s += summary.strip()
             self.progress.set_label(s)
 
-- 
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux