use ignorelist to avoid potential infite loop
authorMarius Mauch <genone@gentoo.org>
Sun, 28 Sep 2008 17:33:00 +0000 (17:33 -0000)
committerMarius Mauch <genone@gentoo.org>
Sun, 28 Sep 2008 17:33:00 +0000 (17:33 -0000)
svn path=/main/trunk/; revision=11585

pym/portage/sets/__init__.py

index 28fcf58a57aee5de1ab70875fda17d2a1685b5cb..50ee455e60c77d867d24487bdce89db53160b808 100644 (file)
@@ -151,9 +151,9 @@ class SetConfig(SafeConfigParser):
                for s in extend:
                        myatoms.update(self.getSetAtoms(s, ignorelist=ignorelist))
                for s in remove:
-                       myatoms.difference_update(self.getSetAtoms(s, ignorelist=None))
+                       myatoms.difference_update(self.getSetAtoms(s, ignorelist=ignorelist))
                for s in intersect:
-                       myatoms.intersection_update(self.getSetAtoms(s, ignorelist=None))
+                       myatoms.intersection_update(self.getSetAtoms(s, ignorelist=ignorelist))
 
                return myatoms