From 9d407e3722896d7d4b967bf59e7a1e885684ee89 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