From: Zac Medico Date: Fri, 27 May 2011 03:28:54 +0000 (-0700) Subject: _LockProcess: fix _poll returncode X-Git-Tag: v2.2.0_alpha37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49a246a11edff3fdcaebe756ac3432b35b613ec6;p=portage.git _LockProcess: fix _poll returncode We don't want to return the returncode directly from the subprocess. Return self.returncode instead. --- 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):