projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e6d91
)
Fix missing import.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 31 Mar 2007 11:01:29 +0000
(11:01 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 31 Mar 2007 11:01:29 +0000
(11:01 -0000)
svn path=/main/trunk/; revision=6325
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 1b8aba21abbc4c8facec140f0d079125335d6a65..2b954254a83d771385ac8176efa25667d9b381b2 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-2326,6
+2326,7
@@
def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, **keyw
if retval != os.EX_OK:
for pid in mypids:
if os.waitpid(pid, os.WNOHANG) == (0,0):
+ import signal
os.kill(pid, signal.SIGTERM)
os.waitpid(pid, 0)
portage.process.spawned_pids.remove(pid)