projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59835b2
)
_LockProcess: fix _poll returncode
v2.1.9.50
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 May 2011 03:28:54 +0000
(20:28 -0700)
committer
Zac 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
patch
|
blob
|
history
diff --git
a/pym/_emerge/AsynchronousLock.py
b/pym/_emerge/AsynchronousLock.py
index ec02364aefb3511041d75255d341f650a7d30d5e..637ba7381e2c73b8fe9b39811ca745e0a648e97e 100644
(file)
--- 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):