[yum-cvs] yum/yum depsolve.py,1.128,1.129
Jeremy Katz
katzj at linux.duke.edu
Tue Feb 20 16:30:27 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv24593/yum
Modified Files:
depsolve.py
Log Message:
make sure the sack is setup. ugh.
Index: depsolve.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/depsolve.py,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- depsolve.py 20 Feb 2007 16:16:23 -0000 1.128
+++ depsolve.py 20 Feb 2007 16:30:25 -0000 1.129
@@ -1344,6 +1344,9 @@
# primary.xml.gz. this is a bit of a hack, but saves us
# from having to download the filelists for a lot of cases
if r.startswith("/"):
+ if self.pkgSack is None: # FIXME: this is fugly
+ self.doRepoSetup()
+ self.doSackSetup()
for po in self.pkgSack.searchProvides(r):
if self.tsInfo.getMembers(po.pkgtup, TS_INSTALL_STATES):
isok = True
More information about the Yum-cvs-commits
mailing list