From: Zac Medico Date: Mon, 7 Jul 2008 03:12:52 +0000 (-0000) Subject: Fix broken code in AsynchronousTask.poll(). X-Git-Tag: v2.2_rc2~173 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d28ce017e44b2b2f03b77807d88c1a9fb3cfdf5f;p=portage.git Fix broken code in AsynchronousTask.poll(). svn path=/main/trunk/; revision=10965 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index f497bd7d7..93684885e 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1473,10 +1473,10 @@ class AsynchronousTask(SlotObject): return self.returncode is None def poll(self): - return self._poll + self._wait_hook() + return self._poll() def _poll(self): - self._wait_hook() return self.returncode def wait(self):