From: Zac Medico Date: Fri, 27 May 2011 03:28:54 +0000 (-0700) Subject: _LockProcess: fix _poll returncode X-Git-Tag: v2.1.9.50 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d407e3722896d7d4b967bf59e7a1e885684ee89;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):