mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
[XEND] Remove lazy import of signal module.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
This commit is contained in:
1 parent
8f988fdcc8
commit
eb6f936011
1 file changed
+1
-1
@@ -20,6 +20,7 @@
|
||||
import os, string
|
||||
import re
|
||||
import math
|
||||
import signal
|
||||
|
||||
import xen.lowlevel.xc
|
||||
from xen.xend import sxp
|
||||
@@ -421,7 +422,6 @@ class HVMImageHandler(ImageHandler):
|
||||
|
||||
def destroy(self):
|
||||
self.unregister_shutdown_watch();
|
||||
import signal
|
||||
if not self.pid:
|
||||
return
|
||||
os.kill(self.pid, signal.SIGKILL)
|
||||
|
||||