diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-07 03:12:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-07 03:12:52 +0000 |
commit | d28ce017e44b2b2f03b77807d88c1a9fb3cfdf5f (patch) | |
tree | 146170f0a4ba84ea44f89acc9ea732deb7f5dab9 | |
parent | ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9 (diff) | |
download | portage-d28ce017e44b2b2f03b77807d88c1a9fb3cfdf5f.tar.gz portage-d28ce017e44b2b2f03b77807d88c1a9fb3cfdf5f.tar.bz2 portage-d28ce017e44b2b2f03b77807d88c1a9fb3cfdf5f.zip |
Fix broken code in AsynchronousTask.poll().
svn path=/main/trunk/; revision=10965
-rw-r--r-- | pym/_emerge/__init__.py | 4 |
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): |