[yum-commits] Branch 'yum-3_2_X' - yum/__init__.py
James Antill
james at osuosl.org
Wed Jan 6 14:41:25 UTC 2010
yum/__init__.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 0111d892922ba35c51287b273ed954afdc97e7e4
Author: James Antill <james at and.org>
Date: Wed Jan 6 02:17:39 2010 -0500
Workaround slight rpm bindings API change, BZ 552178
diff --git a/yum/__init__.py b/yum/__init__.py
index c1f40c4..4d76267 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -4170,7 +4170,10 @@ class YumBase(depsolve.Depsolve):
self.populateTs(test=1)
self.ts.check()
for prob in self.ts.problems():
- results.append(prob)
+ # Newer rpm (4.8.0+) has problem objects, older have just strings.
+ # Should probably move to using the new objects, when we can. For
+ # now just be compatible.
+ results.append(to_str(prob))
self.dsCallback = dscb
return results
More information about the Yum-commits
mailing list