summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py4
1 files 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):