Fix AttributeError for MetadataRegen._sched_iface.
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 08:40:34 +0000 (01:40 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 08:40:34 +0000 (01:40 -0700)
pym/_emerge/MetadataRegen.py

index 6c6dd6b9031c66abac9ff7e5d55fa2a6842e12fd..f90e5dd6c43f9180276309ff9b9874a53bae8a66 100644 (file)
@@ -137,7 +137,7 @@ class MetadataRegen(PollScheduler):
                                return False
 
                        self._jobs += 1
-                       metadata_process.scheduler = self._sched_iface
+                       metadata_process.scheduler = self.sched_iface
                        metadata_process.addExitListener(self._metadata_exit)
                        metadata_process.start()
                return True