X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethod.py;h=1ba4eb1bffa4d22e6882bccbd5343b4b1a33b013;hb=8eb73ae9dcd4155fce6f065e40d544dbc7648142;hp=c700eed3d1f31693860dc0fd45f1f2b2615fb393;hpb=dd451a33a9eeb9a7b2ccf490e916dd1f4196a24a;p=plcapi.git diff --git a/PLC/Method.py b/PLC/Method.py index c700eed..1ba4eb1 100644 --- a/PLC/Method.py +++ b/PLC/Method.py @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: Method.py,v 1.29 2007/08/20 20:31:47 tmack Exp $ +# $Id: Method.py,v 1.30 2007/09/12 17:52:27 tmack Exp $ # import xmlrpclib @@ -92,7 +92,7 @@ class Method: result = self.call(*args, **kwds) runtime = time.time() - start - if self.api.config.PLC_API_DEBUG: #or hasattr(self, 'message'): + if self.api.config.PLC_API_DEBUG or hasattr(self, 'message'): self.log(None, runtime, *args) return result