summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
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):
"""