From e39fe4ed31042bd28357d093fdbd93b4d6d59aaa Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Mon, 22 Jun 2015 10:58:43 +0000 Subject: plugable: Pass API to plugins on initialization rather than using set_api https://fedorahosted.org/freeipa/ticket/3090 Reviewed-By: Martin Babinsky --- ipalib/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/backend.py') diff --git a/ipalib/backend.py b/ipalib/backend.py index 0f381cb9e..d510bc733 100644 --- a/ipalib/backend.py +++ b/ipalib/backend.py @@ -43,8 +43,8 @@ class Connectible(Backend): `request.destroy_context()` can properly close all open connections. """ - def __init__(self, shared_instance=False): - Backend.__init__(self) + def __init__(self, api, shared_instance=False): + Backend.__init__(self, api) if shared_instance: self.id = self.name else: -- cgit