X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fmethod.py;h=9683bc54198552d11094f9b65705b4e8797a4277;hb=e0ffcf4ed82441080a2e1afb6cbfbdc0a57b3c3e;hp=d3820425606ecb5c174ada9957c9442bb416ab26;hpb=7e7237bcba3737207996095332f46ca4fb4c0b37;p=sfa.git diff --git a/sfa/util/method.py b/sfa/util/method.py index d3820425..9683bc54 100644 --- a/sfa/util/method.py +++ b/sfa/util/method.py @@ -91,7 +91,7 @@ class Method (object): result = self.call(*args, **kwds) runtime = time.time() - start - if self.api.config.GENI_API_DEBUG or hasattr(self, 'message'): + if self.api.config.SFA_API_DEBUG or hasattr(self, 'message'): # XX print to some log file # print >> log, "some output" pass @@ -106,7 +106,7 @@ class Method (object): fault.faultString = caller + ": " + self.name + ": " + fault.faultString runtime = time.time() - start - if self.api.config.GENI_API_DEBUG: + if self.api.config.SFA_API_DEBUG: # XX print to some log file #print >> log, "Some debugging output" pass