From 7151ed3688fc76b2c405a8aed5e04f0e8fa909e1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 31 Mar 2007 11:01:29 +0000 Subject: [PATCH] Fix missing import. svn path=/main/trunk/; revision=6325 --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1b8aba21a..2b954254a 100644 --- 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) -- 2.26.2