ia64/xen-unstable

changeset 6992:26c6d506a97c

Move definition of xc variable, to save confusing pylint.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Tue Sep 20 17:21:39 2005 +0100 (2005-09-20)
parents 1c95ad754ad4
children 90bcdd41dbf7
files tools/python/xen/xend/XendProtocol.py
line diff
     1.1 --- a/tools/python/xen/xend/XendProtocol.py	Tue Sep 20 17:20:20 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendProtocol.py	Tue Sep 20 17:21:39 2005 +0100
     1.3 @@ -22,7 +22,7 @@ import types
     1.4  from encode import *
     1.5  import sxp
     1.6  
     1.7 -from xen.xend import XendRoot; xroot = XendRoot.instance()
     1.8 +from xen.xend import XendRoot
     1.9  
    1.10  DEBUG = 0
    1.11  
    1.12 @@ -31,6 +31,10 @@ HTTP_CREATED                         = 2
    1.13  HTTP_ACCEPTED                        = 202
    1.14  HTTP_NO_CONTENT                      = 204
    1.15  
    1.16 +
    1.17 +xroot = XendRoot.instance()
    1.18 +
    1.19 +
    1.20  class XendError(RuntimeError):
    1.21      """Error class for 'expected errors' when talking to xend.
    1.22      """