From 7ad204c13898245cdea5acfa90be83e767276994 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 4 Feb 2015 10:58:14 +0100 Subject: Add uninstallation support. As part of this, made all plugins use a Installer baseclass. https://fedorahosted.org/ipsilon/ticket/38 Signed-off-by: Patrick Uiterwijk Reviewed-by: Rob Crittenden --- ipsilon/login/authkrb.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ipsilon/login/authkrb.py') diff --git a/ipsilon/login/authkrb.py b/ipsilon/login/authkrb.py index e352aa2..60eeb6b 100644 --- a/ipsilon/login/authkrb.py +++ b/ipsilon/login/authkrb.py @@ -15,7 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from ipsilon.login.common import LoginPageBase, LoginManagerBase +from ipsilon.login.common import LoginPageBase, LoginManagerBase, \ + LoginManagerInstaller from ipsilon.util.plugin import PluginObject from ipsilon.util.user import UserSession from string import Template @@ -113,11 +114,11 @@ CONF_TEMPLATE = """ """ -class Installer(object): +class Installer(LoginManagerInstaller): def __init__(self, *pargs): + super(Installer, self).__init__() self.name = 'krb' - self.ptype = 'login' self.pargs = pargs def install_args(self, group): -- cgit