projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6000136
)
Fix missing import. (trunk r6324:6325)
author
Zac Medico
<zmedico@gentoo.org>
Sat, 31 Mar 2007 11:04:00 +0000
(11:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 31 Mar 2007 11:04:00 +0000
(11:04 -0000)
svn path=/main/branches/2.1.2/; revision=6326
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 7c9f995cb5be348ce4688090dcf9656b48e10db8..1847d8626f25abe8dd818b8a62da6a9c66a58938 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2251,6
+2251,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_exec.spawned_pids.remove(pid)