From d28ce017e44b2b2f03b77807d88c1a9fb3cfdf5f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Jul 2008 03:12:52 +0000 Subject: [PATCH] Fix broken code in AsynchronousTask.poll(). svn path=/main/trunk/; revision=10965 --- pym/_emerge/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.26.2