projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d98e28
)
Use elif where appropriate. Thanks to ferringb.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 17 Jan 2007 22:58:08 +0000
(22:58 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 17 Jan 2007 22:58:08 +0000
(22:58 -0000)
svn path=/main/trunk/; revision=5691
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 6891a42ea258a89099b2ce04c294591df028ab3e..f64e26ae5eb7877ddf2d84ec5ce4c172c9a32a84 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2177,7
+2177,7
@@
def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, **keyw
fd_pipes = keywords.get("fd_pipes")
if fd_pipes is None:
fd_pipes = {0:0, 1:1, 2:2}
- if 1 not in fd_pipes or 2 not in fd_pipes:
+
el
if 1 not in fd_pipes or 2 not in fd_pipes:
raise ValueError(fd_pipes)
pr, pw = os.pipe()
mypids.extend(portage_exec.spawn(('tee', '-i', '-a', logfile),