summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-09-25 02:13:16 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-09-25 02:13:16 +0000
commit023f612921b4d9cbd15e3148d09c02932a61d73e (patch)
treec057625096fa46123f653876e7d20760237e8119 /ipalib/plugable.py
parent9f704e001daf760de92c590f69582fc7ffd0c0f2 (diff)
downloadfreeipa-023f612921b4d9cbd15e3148d09c02932a61d73e.tar.gz
freeipa-023f612921b4d9cbd15e3148d09c02932a61d73e.tar.xz
freeipa-023f612921b4d9cbd15e3148d09c02932a61d73e.zip
361: Implemented crud.Add.get_options() method; added corresponding unit tests
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index e1d728d49..cc61cbe92 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -432,7 +432,7 @@ class PluginProxy(SetProxy):
"""
if key in self.__public__:
return getattr(self.__target, key)
- raise KeyError('no public attribute %r' % key)
+ raise KeyError('no public attribute %s.%s' % (self.name, key))
def __getattr__(self, name):
"""
@@ -441,7 +441,7 @@ class PluginProxy(SetProxy):
"""
if name in self.__public__:
return getattr(self.__target, name)
- raise AttributeError('no public attribute %r' % name)
+ raise AttributeError('no public attribute %s.%s' % (self.name, name))
def __call__(self, *args, **kw):
"""