From: Mark Huang Date: Wed, 13 Dec 2006 22:29:28 +0000 (+0000) Subject: - fix bugs X-Git-Tag: pycurl-7_13_1~203 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=786889514c70b24c28a958dc84c799b45bf1a255;p=plcapi.git - fix bugs --- diff --git a/Shell.py b/Shell.py index ff93c66c..17839151 100755 --- a/Shell.py +++ b/Shell.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Shell.py,v 1.15 2006/12/11 11:56:37 thierry Exp $ +# $Id: Shell.py,v 1.16 2006/12/11 13:02:41 thierry Exp $ # import os, sys @@ -148,10 +148,10 @@ class Shell: self.url = "https://" else: self.url = "http://" - self.url += config.PLC_API_HOST + \ - ":" + str(config.PLC_API_PORT) + \ - "/" + config.PLC_API_PATH + "/" - + self.url += self.config.PLC_API_HOST + \ + ":" + str(self.config.PLC_API_PORT) + \ + "/" + self.config.PLC_API_PATH + "/" + self.server = xmlrpclib.ServerProxy(self.url, allow_none = 1) # Default is to use capability authentication