projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a963892
)
Close /dev/null when finished.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 17 Mar 2007 08:27:21 +0000
(08:27 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 17 Mar 2007 08:27:21 +0000
(08:27 -0000)
svn path=/main/trunk/; revision=6231
pym/portage/tests/bin/setup_env.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/bin/setup_env.py
b/pym/portage/tests/bin/setup_env.py
index 0d9b8bc7f8c4b276111c6b30e5e320183fd3a7a7..cde720d9972bfd028a7c6feba2bafcd1d8393af6 100644
(file)
--- a/
pym/portage/tests/bin/setup_env.py
+++ b/
pym/portage/tests/bin/setup_env.py
@@
-49,6
+49,7
@@
def portage_func(func, args, exit_status=0):
f = open('/dev/null', 'w')
fd_pipes = {0:0,1:f.fileno(),2:f.fileno()}
spawn(func+" "+args, env=os.environ, fd_pipes=fd_pipes)
+ f.close()
def create_portage_wrapper(bin):
def derived_func(*args):