[yum-git] Branch 'yum-3_2_X' - output.py
James Antill
james at linux.duke.edu
Fri Aug 22 20:04:35 UTC 2008
output.py | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 15715eaea2290a6aa557009551b0a40eec69858f
Author: James Antill <james at and.org>
Date: Fri Aug 22 16:04:29 2008 -0400
Give gpgkeys a noarch arch. in listTransaction()
diff --git a/output.py b/output.py
index 35ed361..609150c 100644
--- a/output.py
+++ b/output.py
@@ -726,6 +726,9 @@ class YumOutput:
pkgsize = float(txmbr.po.size)
size = self.format_number(pkgsize)
+ if a is None: # gpgkeys are weird
+ a = 'noarch'
+
lines.append((n, a, evr, repoid, size, txmbr.obsoletes))
# Create a dict of field_length => number of packages, for
# each field.
More information about the Yum-cvs-commits
mailing list