diff -r f98c8238e909 tools/python/xen/xend/XendProtocol.py --- a/tools/python/xen/xend/XendProtocol.py Wed Oct 5 18:15:56 2005 +++ b/tools/python/xen/xend/XendProtocol.py Wed Oct 5 15:14:52 2005 @@ -32,9 +32,6 @@ HTTP_NO_CONTENT = 204 -xroot = XendRoot.instance() - - class XendError(RuntimeError): """Error class for 'expected errors' when talking to xend. """ @@ -202,7 +199,7 @@ def __init__(self, path=None): if path is None: - path = xroot.get_xend_unix_path() + path = XendRoot.instance().get_xend_unix_path() self.path = path def makeConnection(self, url):