[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Remove lazy import of signal module.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID e3c70530cb2875319ff679f6f814116ccd94a6f4
# Parent  4441715c9a67c5c63cf507b5202204bf67e36767
[XEND] Remove lazy import of signal module.
Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4441715c9a67 -r e3c70530cb28 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Wed Nov 01 10:30:02 2006 +0000
+++ b/tools/python/xen/xend/image.py    Fri Oct 20 11:00:08 2006 +0100
@@ -20,6 +20,7 @@ import os, string
 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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.