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

[Xen-changelog] Move definition of xc and xend to avoid confusing pylint.



# HG changeset patch
# User emellor@ewan
# Node ID b67ef34cf91bf1387c013715e9bb5c033caac715
# Parent  5007bebba2f58c567f58adebe6159848fe107760
Move definition of xc and xend to avoid confusing pylint.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 5007bebba2f5 -r b67ef34cf91b tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Sun Sep 18 14:50:12 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Sun Sep 18 15:00:24 2005
@@ -28,10 +28,10 @@
 import threading
 import errno
 
-import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
+import xen.lowlevel.xc
 from xen.util.blkif import blkdev_uname_to_file
 
-from xen.xend.server import SrvDaemon; xend = SrvDaemon.instance()
+from xen.xend.server import SrvDaemon
 from xen.xend.server.channel import EventChannel
 
 from xen.xend import sxp
@@ -91,6 +91,12 @@
 
 """Flag for a TPM device backend domain."""
 SIF_TPM_BE_DOMAIN = (1<<7)
+
+
+xc = xen.lowlevel.xc.new()
+
+
+xend = SrvDaemon.instance()
 
 
 def domain_exists(name):

_______________________________________________
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®.