mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
plugable: Pass API to plugins on initialization rather than using set_api
https://fedorahosted.org/freeipa/ticket/3090 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
@@ -104,8 +104,8 @@ class Advice(Plugin):
|
||||
require_root = False
|
||||
description = ''
|
||||
|
||||
def __init__(self):
|
||||
super(Advice, self).__init__()
|
||||
def __init__(self, api):
|
||||
super(Advice, self).__init__(api)
|
||||
self.log = _AdviceOutput()
|
||||
|
||||
def set_options(self, options):
|
||||
|
||||
Reference in New Issue
Block a user