[yum-git] yum/misc.py
James Antill
james at linux.duke.edu
Mon Apr 14 23:41:02 UTC 2008
yum/misc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0787181dedb548255be82427d104577510add7a4
Author: James Antill <james at and.org>
Date: Mon Apr 14 19:40:53 2008 -0400
Stupid typing error wasting our time
diff --git a/yum/misc.py b/yum/misc.py
index a7090c9..40eb962 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -34,7 +34,7 @@ def share_data(value):
# hahahah, of course the above means that:
# hash(('a', 'b')) == hash((u'a', u'b'))
# ...which we have in deptuples, so just screw sharing those atm.
- if type(value) == type(tuple):
+ if type(value) == types.TupleType:
return value
return store.setdefault(value, value)
More information about the Yum-cvs-commits
mailing list