diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-06-22 10:58:43 +0000 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-07-01 13:05:30 +0000 |
commit | e39fe4ed31042bd28357d093fdbd93b4d6d59aaa (patch) | |
tree | c9edd3b3d710ae642d91eb8ca0c060cb5f6d0f0c /ipalib/backend.py | |
parent | 2d1515323acb4125306817096bafab6623de0b47 (diff) | |
download | freeipa-e39fe4ed31042bd28357d093fdbd93b4d6d59aaa.tar.gz freeipa-e39fe4ed31042bd28357d093fdbd93b4d6d59aaa.tar.xz freeipa-e39fe4ed31042bd28357d093fdbd93b4d6d59aaa.zip |
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>
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r-- | ipalib/backend.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |