diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-05 22:21:57 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-05 22:21:57 +0000 |
commit | 159207514fadfacb6e1df9713abd2c61c24d7b77 (patch) | |
tree | d49c3f592c50c2564defd48ea2e086bd1809d88d /ipalib/plugable.py | |
parent | 1fce1487f9ba85aeee36178c4efadbc983b612cc (diff) | |
download | freeipa.git-159207514fadfacb6e1df9713abd2c61c24d7b77.tar.gz freeipa.git-159207514fadfacb6e1df9713abd2c61c24d7b77.tar.xz freeipa.git-159207514fadfacb6e1df9713abd2c61c24d7b77.zip |
52: Got cli working against new framework
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 8f2cbc27..2c5fd18c 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -92,7 +92,7 @@ class Plugin(object): Returns a valid Python expression that could create this plugin instance given the appropriate environment. """ - return '%s.%s()' % ( + return '%s.%s' % ( self.__class__.__module__, self.__class__.__name__ ) @@ -296,7 +296,8 @@ class Registrar(object): base. """ for base in self.__allowed: - yield (base, self.__d[base.__name__].values()) + sub_d = self.__d[base.__name__] + yield (base, tuple(sub_d[k] for k in sorted(sub_d))) class API(ReadOnly): |