[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] XendProtocol.py:
ChangeSet 1.1606, 2005/05/31 10:14:28+01:00, cl349@xxxxxxxxxxxxxxxxxxxx XendProtocol.py: Make XendProtocol.py use XendRoot to get the path to xend domain-socket. Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx> Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> XendProtocol.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -Nru a/tools/python/xen/xend/XendProtocol.py b/tools/python/xen/xend/XendProtocol.py --- a/tools/python/xen/xend/XendProtocol.py 2005-05-31 12:02:47 -04:00 +++ b/tools/python/xen/xend/XendProtocol.py 2005-05-31 12:02:47 -04:00 @@ -7,6 +7,8 @@ from encode import * import sxp +from xen.xend import XendRoot; xroot = XendRoot.instance() + DEBUG = 0 HTTP_OK = 200 @@ -179,11 +181,9 @@ """A synchronous xend client using a unix-domain socket. """ - XEND_PATH_DEFAULT = '/var/lib/xend/xend-socket' - def __init__(self, path=None): if path is None: - path = self.XEND_PATH_DEFAULT + path = xroot.get_xend_unix_path() self.path = path def makeConnection(self, url): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |