summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-26 20:28:54 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-26 20:36:25 -0700
commit9d407e3722896d7d4b967bf59e7a1e885684ee89 (patch)
treecfb1bd8110df3f1bb6cc1a7b52872813152fe252
parentdblink.merge: populate vardbapi cache for new pkg (diff)
downloadportage-2.1.9.50.tar.gz
portage-2.1.9.50.tar.bz2
portage-2.1.9.50.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.py2
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):