From 49a246a11edff3fdcaebe756ac3432b35b613ec6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 26 May 2011 20:28:54 -0700 Subject: [PATCH] _LockProcess: fix _poll returncode We don't want to return the returncode directly from the subprocess. Return self.returncode instead. --- pym/_emerge/AsynchronousLock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2