[yum-cvs] yum/yum packages.py,1.99,1.100
Tim Lauridsen
timlau at linux.duke.edu
Fri Apr 13 09:43:55 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv1114/yum
Modified Files:
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.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- packages.py 28 Feb 2007 12:53:13 -0000 1.99
+++ packages.py 13 Apr 2007 09:43:53 -0000 1.100
@@ -195,7 +195,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