no longer need __getattr__()
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 4 Feb 2012 02:24:59 +0000 (21:24 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 4 Feb 2012 02:24:59 +0000 (21:24 -0500)
sfa/openstack/nova_shell.py

index 333a520..bebe8a8 100644 (file)
@@ -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