Fix Scheduler._prevent_builddir_collisions() to skip non-Package instances
authorZac Medico <zmedico@gentoo.org>
Fri, 13 Feb 2009 02:53:53 +0000 (02:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 13 Feb 2009 02:53:53 +0000 (02:53 -0000)
when necessary.

svn path=/main/trunk/; revision=12604

pym/_emerge/__init__.py

index a6d9ec257c0df23336d0e6786d99f1027e79f36a..52a307eb8edb94eae93165e9ec835e8e7707d2c7 100644 (file)
@@ -10041,6 +10041,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: