summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-10-14 15:08:30 -0600
committerJason Gerard DeRose <jderose@redhat.com>2009-10-14 15:08:30 -0600
commit8dc21d6f30d1466f07b38e0d015de39a8c0d29d2 (patch)
treeffdffc3dae8d07b307ab1d9e7124d9695f35d4a4 /ipalib/plugable.py
parent5c9437b9e683a5f721595a5e312e4d61a11b60c7 (diff)
downloadfreeipa-8dc21d6f30d1466f07b38e0d015de39a8c0d29d2.zip
freeipa-8dc21d6f30d1466f07b38e0d015de39a8c0d29d2.tar.gz
freeipa-8dc21d6f30d1466f07b38e0d015de39a8c0d29d2.tar.xz
Make plugin browser show plugin parent class
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index dceb41f..12746c1 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