[XEND] Remove lazy import of signal module.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-10-20 11:00:08 +01:00
1 parent 8f988fdcc8
commit eb6f936011
1 file changed
+1 -1
+1 -1
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.