[yum-commits] Branch 'yum-3_2_X' - yum/misc.py
James Antill
james at osuosl.org
Sun Mar 8 16:48:10 UTC 2009
yum/misc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a0cd169628adcabc80575eb22447a9cf091e8251
Author: James Antill <james at and.org>
Date: Sun Mar 8 12:47:45 2009 -0400
u isn't defined when we get TypeError in unique now, fixes BZ#489208
diff --git a/yum/misc.py b/yum/misc.py
index eeb142f..aaa5917 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -152,7 +152,7 @@ def unique(s):
try:
u = set(s)
except TypeError:
- del u # move on to the next method
+ pass
else:
return list(u)
More information about the Yum-commits
mailing list