diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-10-14 15:08:30 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-10-14 15:08:30 -0600 |
commit | 8dc21d6f30d1466f07b38e0d015de39a8c0d29d2 (patch) | |
tree | ffdffc3dae8d07b307ab1d9e7124d9695f35d4a4 /ipalib/plugable.py | |
parent | 5c9437b9e683a5f721595a5e312e4d61a11b60c7 (diff) | |
download | freeipa-8dc21d6f30d1466f07b38e0d015de39a8c0d29d2.tar.gz freeipa-8dc21d6f30d1466f07b38e0d015de39a8c0d29d2.tar.xz freeipa-8dc21d6f30d1466f07b38e0d015de39a8c0d29d2.zip |
Make plugin browser show plugin parent class
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index dceb41f07..12746c12a 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -163,6 +163,9 @@ class Plugin(ReadOnly): self.name = cls.__name__ self.module = cls.__module__ self.fullname = '%s.%s' % (self.module, self.name) + self.bases = tuple( + '%s.%s' % (b.__module__, b.__name__) for b in cls.__bases__ + ) self.doc = inspect.getdoc(cls) if self.doc is None: self.summary = '<%s>' % self.fullname |