From: Tony Mack Date: Sat, 4 Feb 2012 02:24:59 +0000 (-0500) Subject: no longer need __getattr__() X-Git-Tag: merged-in-sfa-2.1-2~14 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=35edc4e5c7b6a1b3e92bb7675072aa4816db80da;p=sfa.git no longer need __getattr__() --- diff --git a/sfa/openstack/nova_shell.py b/sfa/openstack/nova_shell.py index 333a5207..bebe8a8e 100644 --- a/sfa/openstack/nova_shell.py +++ b/sfa/openstack/nova_shell.py @@ -74,9 +74,3 @@ class NovaShell: self.proxy = None logger.debug('nova access - REST') raise SfaNotImplemented('nova access - Rest') - - def __getattr__(self, name): - def func(*args, **kwds): - result=getattr(self.proxy, name)(self.auth, *args, **kwds) - return result - return func