summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-08-04 02:41:11 -0600
committerRob Crittenden <rcritten@redhat.com>2009-08-05 12:18:51 -0400
commitc0f558d98b46df6131b221b746e8dc54787225e7 (patch)
treec4e39d94ed0a913cf618f5d6764f848e890a2fc2 /ipalib/frontend.py
parentb7b9f9b6a66f75e838a3a60b105ac7d0f8197ed2 (diff)
downloadfreeipa-c0f558d98b46df6131b221b746e8dc54787225e7.tar.gz
freeipa-c0f558d98b46df6131b221b746e8dc54787225e7.tar.xz
freeipa-c0f558d98b46df6131b221b746e8dc54787225e7.zip
Removed PluginProxy and all its uses
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 2a5c5311..5ee70381 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -352,7 +352,7 @@ class Command(HasParam):
>>> list(api.Command)
['my_command']
>>> api.Command.my_command # doctest:+ELLIPSIS
- PluginProxy(Command, ...my_command())
+ ipalib.frontend.my_command()
"""
__public__ = frozenset((
@@ -752,10 +752,10 @@ class Object(HasParam):
def set_api(self, api):
super(Object, self).set_api(api)
self.methods = NameSpace(
- self.__get_attrs('Method'), sort=False
+ self.__get_attrs('Method'), sort=False, name_attr='attr_name'
)
self.properties = NameSpace(
- self.__get_attrs('Property'), sort=False
+ self.__get_attrs('Property'), sort=False, name_attr='attr_name'
)
self._create_param_namespace('params')
pkeys = filter(lambda p: p.primary_key, self.params())
@@ -798,9 +798,9 @@ class Object(HasParam):
return
namespace = self.api[name]
assert type(namespace) is NameSpace
- for proxy in namespace(): # Equivalent to dict.itervalues()
- if proxy.obj_name == self.name:
- yield proxy.__clone__('attr_name')
+ for plugin in namespace(): # Equivalent to dict.itervalues()
+ if plugin.obj_name == self.name:
+ yield plugin
def get_params(self):
"""