- Fix a logic flaw in the depsolving loop

This commit is contained in:
Jesse Keating 2007-03-16 13:31:31 -04:00 committed by Jesse Keating
parent aa0f72f352
commit c0ab3ad59c
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
* Fri Mar 16 2007 Jesse Keating <jkeating@redhat.com>
- Fix a logic flaw in the depsolving loop
* Thu Mar 15 2007 Jesse Keating <jkeating@redhat.com> * Thu Mar 15 2007 Jesse Keating <jkeating@redhat.com>
- Use yum's built in exclude handling - Use yum's built in exclude handling
- Use yum's built in conditional handling for things from comps - Use yum's built in conditional handling for things from comps

View File

@ -231,12 +231,12 @@ class Gather(yum.YumBase):
moretoprocess = True moretoprocess = True
while moretoprocess: # Our fun loop while moretoprocess: # Our fun loop
moretoprocess = False
for txmbr in self.tsInfo: for txmbr in self.tsInfo:
if not final_pkgobjs.has_key(txmbr.po): if not final_pkgobjs.has_key(txmbr.po):
final_pkgobjs[txmbr.po] = None # Add the pkg to our final list final_pkgobjs[txmbr.po] = None # Add the pkg to our final list
self.getPackageDeps(txmbr.po) # Get the deps of our package self.getPackageDeps(txmbr.po) # Get the deps of our package
else: moretoprocess = True
moretoprocess = False
self.polist = final_pkgobjs.keys() self.polist = final_pkgobjs.keys()