[yum-cvs] /yum/yum packages.py,1.98,1.99
Tim Lauridsen
timlau at linux.duke.edu
Wed Feb 28 12:53:15 UTC 2007
Update of /home/groups/yum/cvs//yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv9580/yum
Modified Files:
packages.py
Log Message:
Added patch by Jack Neely to fix traceback when the following is used.
if po == None:
(rhbz #229917)
Index: packages.py
===================================================================
RCS file: /home/groups/yum/cvs//yum/yum/packages.py,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- packages.py 19 Feb 2007 22:35:26 -0000 1.98
+++ packages.py 28 Feb 2007 12:53:13 -0000 1.99
@@ -195,6 +195,8 @@
self.licenses = []
def __eq__(self, other):
+ if other == None:
+ return False
if comparePoEVR(self, other) == 0 and self.arch == other.arch and self.name == other.name:
return True
return False
More information about the Yum-cvs-commits
mailing list