ia64/xen-unstable

changeset 12192:e3c70530cb28

[XEND] Remove lazy import of signal module.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
author kfraser@localhost.localdomain
date Fri Oct 20 11:00:08 2006 +0100 (2006-10-20)
parents 4441715c9a67
children de99c7f7aba4
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Wed Nov 01 10:30:02 2006 +0000
     1.2 +++ b/tools/python/xen/xend/image.py	Fri Oct 20 11:00:08 2006 +0100
     1.3 @@ -20,6 +20,7 @@
     1.4  import os, string
     1.5  import re
     1.6  import math
     1.7 +import signal
     1.8  
     1.9  import xen.lowlevel.xc
    1.10  from xen.xend import sxp
    1.11 @@ -421,7 +422,6 @@ class HVMImageHandler(ImageHandler):
    1.12  
    1.13      def destroy(self):
    1.14          self.unregister_shutdown_watch();
    1.15 -        import signal
    1.16          if not self.pid:
    1.17              return
    1.18          os.kill(self.pid, signal.SIGKILL)