Fix typo in Binpkg.start() which prevents --genbinpkg prefetcher sync
authorZac Medico <zmedico@gentoo.org>
Mon, 7 Jul 2008 02:11:05 +0000 (02:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 7 Jul 2008 02:11:05 +0000 (02:11 -0000)
from working properly in some cases.

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

pym/_emerge/__init__.py

index c5d3d4c52fd95ae816d71d20c37d46da75fca122..a1a14cca92b15f38ccefcbab647c892152501395 100644 (file)
@@ -2431,7 +2431,7 @@ class Binpkg(CompositeTask):
                prefetcher = self.prefetcher
                if prefetcher is None:
                        pass
-               elif prefetcher.isAlive():
+               elif not prefetcher.isAlive():
                        prefetcher.cancel()
                elif prefetcher.poll() is None: