From c0ab3ad59c988c7bc738a0585f5d4db75f5bff03 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 16 Mar 2007 13:31:31 -0400 Subject: [PATCH] - Fix a logic flaw in the depsolving loop --- Changelog | 3 +++ pypungi/gather.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 9f7773fc..ada0ad4e 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,6 @@ +* Fri Mar 16 2007 Jesse Keating +- Fix a logic flaw in the depsolving loop + * Thu Mar 15 2007 Jesse Keating - Use yum's built in exclude handling - Use yum's built in conditional handling for things from comps diff --git a/pypungi/gather.py b/pypungi/gather.py index 4ef8c499..60edd462 100755 --- a/pypungi/gather.py +++ b/pypungi/gather.py @@ -231,12 +231,12 @@ class Gather(yum.YumBase): moretoprocess = True while moretoprocess: # Our fun loop + moretoprocess = False for txmbr in self.tsInfo: if not final_pkgobjs.has_key(txmbr.po): final_pkgobjs[txmbr.po] = None # Add the pkg to our final list self.getPackageDeps(txmbr.po) # Get the deps of our package - else: - moretoprocess = False + moretoprocess = True self.polist = final_pkgobjs.keys()