diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-15 03:32:38 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-15 03:32:38 +0000 |
commit | 233293fb4a60d57e60bce67035a88f57b2cbf751 (patch) | |
tree | e4bc36c6e0d7e2eaa18223cf3dbfe8666fa4c75b /ipalib/plugable.py | |
parent | ec0596b429d10b8659ea21a051fd98e047aece46 (diff) | |
download | freeipa-233293fb4a60d57e60bce67035a88f57b2cbf751.tar.gz freeipa-233293fb4a60d57e60bce67035a88f57b2cbf751.tar.xz freeipa-233293fb4a60d57e60bce67035a88f57b2cbf751.zip |
175: Renamed Proxy to PluginProxy
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index e17311562..a891bab5e 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -351,7 +351,7 @@ class Plugin(ReadOnly): ) -class Proxy(ReadOnly): +class PluginProxy(ReadOnly): """ Allows access to only certain attributes on a `Plugin`. @@ -692,7 +692,7 @@ class API(DictProxy): if klass not in instances: instances[klass] = klass() plugin = instances[klass] - yield Proxy(base, plugin) + yield PluginProxy(base, plugin) for (base, classes) in self.register: namespace = NameSpace(plugin_iter(base, classes)) |