Fixed memory leak that disabled Google command

This commit is contained in:
Jeremy Fincher 2003-03-27 10:40:19 +00:00
parent 4da96fb264
commit bc93b2953a

View File

@ -3570,6 +3570,10 @@ class SOAPProxy:
return self.__call(None, body, {})
def __getattr__(self, name): # hook to catch method calls
print '__getattr__ called with %s' % name
if name == '__del__':
raise AttributeError, name
else:
return self.__Method(self.__call, name, config = self.config)
# To handle attribute wierdness
@ -3599,6 +3603,8 @@ class SOAPProxy:
self.__call__ = self.__r_call
def __getattr__(self, name):
if name == '__del__':
raise AttributeError, name
if self.__name[0] == "_":
# Don't nest method if it is a directive
return self.__class__(self.__call, name, self.__ns,