[yum-cvs] yum/yum rpmsack.py,1.37,1.38
Seth Vidal
skvidal at linux.duke.edu
Tue Feb 27 22:18:04 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv6859/yum
Modified Files:
rpmsack.py
Log Message:
minor change as to how to check for header_dict being empty
Index: rpmsack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/rpmsack.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- rpmsack.py 17 Feb 2007 23:16:19 -0000 1.37
+++ rpmsack.py 27 Feb 2007 22:18:02 -0000 1.38
@@ -53,7 +53,7 @@
'''Getter for the pkglist property.
Returns a list of package tuples.
'''
- if not self._header_dict:
+ if len(self._header_dict.keys()) == 0 :
self._make_header_dict()
for pkgtup in self._header_dict.keys():
More information about the Yum-cvs-commits
mailing list