From d72c0aac21d66f4cec8f51c8a41f0abd77e905a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 5 Oct 2010 16:33:07 +0200 Subject: [PATCH 1/1] small fix for verbose output --- sfa/util/xmlrpcprotocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/util/xmlrpcprotocol.py b/sfa/util/xmlrpcprotocol.py index d7599737..afba6f3b 100644 --- a/sfa/util/xmlrpcprotocol.py +++ b/sfa/util/xmlrpcprotocol.py @@ -54,7 +54,7 @@ class XMLRPCServerProxy(xmlrpclib.ServerProxy): xmlrpclib.ServerProxy.__init__(self, url, transport, allow_none=allow_none, verbose=verbose) def __getattr__(self, attr): - if self.options.verbose: + if self.options and self.options.verbose: print "Calling xml-rpc method:", attr return xmlrpclib.ServerProxy.__getattr__(self, attr) -- 2.43.0