From 023f612921b4d9cbd15e3148d09c02932a61d73e Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 25 Sep 2008 02:13:16 +0000 Subject: 361: Implemented crud.Add.get_options() method; added corresponding unit tests --- ipalib/plugable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/plugable.py') diff --git a/ipalib/plugable.py b/ipalib/plugable.py index e1d728d4..cc61cbe9 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): """ -- cgit