mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Fixed memory leak that disabled Google command
This commit is contained in:
parent
4da96fb264
commit
bc93b2953a
@ -3570,6 +3570,10 @@ class SOAPProxy:
|
|||||||
return self.__call(None, body, {})
|
return self.__call(None, body, {})
|
||||||
|
|
||||||
def __getattr__(self, name): # hook to catch method calls
|
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)
|
return self.__Method(self.__call, name, config = self.config)
|
||||||
|
|
||||||
# To handle attribute wierdness
|
# To handle attribute wierdness
|
||||||
@ -3599,6 +3603,8 @@ class SOAPProxy:
|
|||||||
self.__call__ = self.__r_call
|
self.__call__ = self.__r_call
|
||||||
|
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
|
if name == '__del__':
|
||||||
|
raise AttributeError, name
|
||||||
if self.__name[0] == "_":
|
if self.__name[0] == "_":
|
||||||
# Don't nest method if it is a directive
|
# Don't nest method if it is a directive
|
||||||
return self.__class__(self.__call, name, self.__ns,
|
return self.__class__(self.__call, name, self.__ns,
|
||||||
|
Loading…
Reference in New Issue
Block a user