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

[Xen-changelog] Move definition of xc variable, to save confusing pylint.



# HG changeset patch
# User emellor@ewan
# Node ID 26c6d506a97c92e73bbf21ba861184e7565f4568
# Parent  1c95ad754ad4d68ef41b1816465652c61891bded
Move definition of xc variable, to save confusing pylint.

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

diff -r 1c95ad754ad4 -r 26c6d506a97c tools/python/xen/xend/XendProtocol.py
--- a/tools/python/xen/xend/XendProtocol.py     Tue Sep 20 16:20:20 2005
+++ b/tools/python/xen/xend/XendProtocol.py     Tue Sep 20 16:21:39 2005
@@ -22,7 +22,7 @@
 from encode import *
 import sxp
 
-from xen.xend import XendRoot; xroot = XendRoot.instance()
+from xen.xend import XendRoot
 
 DEBUG = 0
 
@@ -30,6 +30,10 @@
 HTTP_CREATED                         = 201
 HTTP_ACCEPTED                        = 202
 HTTP_NO_CONTENT                      = 204
+
+
+xroot = XendRoot.instance()
+
 
 class XendError(RuntimeError):
     """Error class for 'expected errors' when talking to xend.

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