diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-05-26 20:28:54 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-26 20:36:25 -0700 |
commit | 9d407e3722896d7d4b967bf59e7a1e885684ee89 (patch) | |
tree | cfb1bd8110df3f1bb6cc1a7b52872813152fe252 | |
parent | dblink.merge: populate vardbapi cache for new pkg (diff) | |
download | portage-9d407e3722896d7d4b967bf59e7a1e885684ee89.tar.gz portage-9d407e3722896d7d4b967bf59e7a1e885684ee89.tar.bz2 portage-9d407e3722896d7d4b967bf59e7a1e885684ee89.zip |
_LockProcess: fix _poll returncodev2.1.9.50
We don't want to return the returncode directly from the
subprocess. Return self.returncode instead.
-rw-r--r-- | pym/_emerge/AsynchronousLock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/AsynchronousLock.py b/pym/_emerge/AsynchronousLock.py index ec02364ae..637ba7381 100644 --- a/pym/_emerge/AsynchronousLock.py +++ b/pym/_emerge/AsynchronousLock.py @@ -239,7 +239,7 @@ class _LockProcess(AbstractPollTask): def _poll(self): if self._proc is not None: - return self._proc.poll() + self._proc.poll() return self.returncode def _wait(self): |