diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-08 21:37:02 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-08 21:37:02 +0000 |
commit | e74713a076a72e75d6ca44d12df8500fb5cad8d2 (patch) | |
tree | 021c4af1ac13b0e021e936efa6c1d7841cd8582f /ipalib/plugable.py | |
parent | 641403278e00c30f24d9a6b4938b1e4ab3ecb427 (diff) | |
download | freeipa-e74713a076a72e75d6ca44d12df8500fb5cad8d2.tar.gz freeipa-e74713a076a72e75d6ca44d12df8500fb5cad8d2.tar.xz freeipa-e74713a076a72e75d6ca44d12df8500fb5cad8d2.zip |
267: Finished builtin CLI api command
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 9880b0a08..761d8a955 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -354,7 +354,7 @@ class Plugin(ReadOnly): Returns a fully qualified module_name.class_name() representation that could be used to construct this Plugin instance. """ - return '%s.%s()' % ( + return '%s.%s' % ( self.__class__.__module__, self.__class__.__name__ ) @@ -450,11 +450,10 @@ class PluginProxy(SetProxy): Returns a Python expression that could be used to construct this Proxy instance given the appropriate environment. """ - return '%s(%s, %r, %r)' % ( + return '%s(%s, %r)' % ( self.__class__.__name__, self.__base.__name__, self.__target, - self.__name_attr, ) |