[yum-cvs] /yum/yum packages.py,1.73.2.12,1.73.2.13
Tim Lauridsen
timlau at linux.duke.edu
Wed Feb 28 12:55:32 UTC 2007
Update of /home/groups/yum/cvs//yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv9631/yum
Modified Files:
Tag: yum-3_0_X
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.73.2.12
retrieving revision 1.73.2.13
diff -u -r1.73.2.12 -r1.73.2.13
--- packages.py 13 Feb 2007 20:05:08 -0000 1.73.2.12
+++ packages.py 28 Feb 2007 12:55:30 -0000 1.73.2.13
@@ -188,6 +188,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