From f904cb0422194dc55cf74366145b2cf20299b657 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 7 Aug 2008 00:51:34 +0000 Subject: 71: Proxy now uses base.__public__ instead of base.public; updated unit tests --- ipalib/plugable.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ipalib/plugable.py') diff --git a/ipalib/plugable.py b/ipalib/plugable.py index a60105a4..62d228ca 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -139,7 +139,7 @@ class Proxy(ReadOnly): object.__setattr__(self, '_Proxy__base', base) object.__setattr__(self, '_Proxy__target', target) object.__setattr__(self, '_Proxy__name_attr', name_attr) - object.__setattr__(self, '_Proxy__public', base.public) + object.__setattr__(self, '_Proxy__public', base.__public__) object.__setattr__(self, 'name', getattr(target, name_attr)) # Check __public @@ -228,7 +228,6 @@ class NameSpace(ReadOnly): return '%s(<%d proxies>)' % (self.__class__.__name__, len(self)) - class Registrar(object): def __init__(self, *allowed): """ -- cgit