_LockProcess: fix _poll returncode v2.1.9.50
authorZac Medico <zmedico@gentoo.org>
Fri, 27 May 2011 03:28:54 +0000 (20:28 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 May 2011 03:36:25 +0000 (20:36 -0700)
We don't want to return the returncode directly from the
subprocess. Return self.returncode instead.

pym/_emerge/AsynchronousLock.py

index ec02364aefb3511041d75255d341f650a7d30d5e..637ba7381e2c73b8fe9b39811ca745e0a648e97e 100644 (file)
@@ -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):