From 35edc4e5c7b6a1b3e92bb7675072aa4816db80da Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 3 Feb 2012 21:24:59 -0500 Subject: [PATCH] no longer need __getattr__() --- sfa/openstack/nova_shell.py | 6 ------ 1 file changed, 6 deletions(-) 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 -- 2.43.0