summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-07 00:51:34 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-07 00:51:34 +0000
commitf904cb0422194dc55cf74366145b2cf20299b657 (patch)
treeb52fec5c08d7cceb97ae9c6449b04efbb9a050ce /ipalib/plugable.py
parent778a019129b919b4856fc54e2f9d58209685f159 (diff)
downloadfreeipa.git-f904cb0422194dc55cf74366145b2cf20299b657.tar.gz
freeipa.git-f904cb0422194dc55cf74366145b2cf20299b657.tar.xz
freeipa.git-f904cb0422194dc55cf74366145b2cf20299b657.zip
71: Proxy now uses base.__public__ instead of base.public; updated unit tests
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py3
1 files changed, 1 insertions, 2 deletions
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):
"""