From 8dc21d6f30d1466f07b38e0d015de39a8c0d29d2 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 14 Oct 2009 15:08:30 -0600 Subject: Make plugin browser show plugin parent class --- ipalib/plugable.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/plugable.py') diff --git a/ipalib/plugable.py b/ipalib/plugable.py index dceb41f0..12746c12 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 -- cgit