[yum-cvs] yum/yum packages.py,1.73.2.13,1.73.2.14
Tim Lauridsen
timlau at linux.duke.edu
Fri Apr 13 09:42:48 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv1083/yum
Modified Files:
Tag: yum-3_0_X
packages.py
Log Message:
fix Traceback, if other is a transaction member
rhbz #232183 and others.
Index: packages.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/packages.py,v
retrieving revision 1.73.2.13
retrieving revision 1.73.2.14
diff -u -r1.73.2.13 -r1.73.2.14
--- packages.py 28 Feb 2007 12:55:30 -0000 1.73.2.13
+++ packages.py 13 Apr 2007 09:42:46 -0000 1.73.2.14
@@ -188,7 +188,7 @@
self.licenses = []
def __eq__(self, other):
- if other == None:
+ if not other: # check if other not is a package object.
return False
if comparePoEVR(self, other) == 0 and self.arch == other.arch and self.name == other.name:
return True
More information about the Yum-cvs-commits
mailing list