Fix Scheduler._prevent_builddir_collisions() to skip non-Package instances
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:08:02 +0000 (05:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:08:02 +0000 (05:08 -0000)
when necessary. (trunk r12604)

svn path=/main/branches/2.1.6/; revision=12885

pym/_emerge/__init__.py

index 1ba3341fa0b8be8c28b43777fcd58f7aa8f35c93..61a41529dfcdad5c4b8df8c5fd1d23c42feb66da 100644 (file)
@@ -10025,6 +10025,9 @@ class Scheduler(PollScheduler):
                """
                cpv_map = {}
                for pkg in self._mergelist:
+                       if not isinstance(pkg, Package):
+                               # a satisfied blocker
+                               continue
                        if pkg.installed:
                                continue
                        if pkg.cpv not in cpv_map: