X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Fmanifoldapi.py;h=3fa5f9781e545f01735a270a697ff1697dc3567b;hb=10af098ebfcc500aef11ce9154028b8e20a0b046;hp=3f4bd10e76fb274a3a22991f707b0fb5c5a313f2;hpb=6a8cd8d5f11411cdb4bf2510c9be5fd60d72cb50;p=myslice.git diff --git a/manifold/manifoldapi.py b/manifold/manifoldapi.py index 3f4bd10e..3fa5f978 100644 --- a/manifold/manifoldapi.py +++ b/manifold/manifoldapi.py @@ -27,7 +27,7 @@ class ManifoldAPI: self.trace = [] self.calls = {} self.multicall = False - self.url = config.manifold_url + self.url = config.manifold_url() self.server = xmlrpclib.Server(self.url, verbose=False, allow_none=True) def __repr__ (self): return "ManifoldAPI[%s]"%self.url @@ -70,6 +70,7 @@ class ManifoldAPI: output="%s answered %s"%(self.url,error))) # otherwise print "** MANIFOLD API ERROR **" + print "====> ERROR On ManifoldAPI.%s"%methodName,"auth",self.auth,"args",args,"kwds",kwds import traceback traceback.print_exc() if debug: print "KO (unexpected exception)",error