diff options
author | Christian Heimes <cheimes@redhat.com> | 2016-11-18 15:42:23 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-11-24 16:30:32 +0100 |
commit | 6409abf1a60f3548203e6607a2b157ff72af2c89 (patch) | |
tree | 2d1c06b3fc85d91f9d4bea67162a1ab9dcdca07e /ipaserver/install/opendnssecinstance.py | |
parent | 2cbaf156045769b54150e4d4c3c1071f164a16fb (diff) | |
download | freeipa-6409abf1a60f3548203e6607a2b157ff72af2c89.tar.gz freeipa-6409abf1a60f3548203e6607a2b157ff72af2c89.tar.xz freeipa-6409abf1a60f3548203e6607a2b157ff72af2c89.zip |
Break ipaplatform / ipalib import cycle of hell
Here is an attempt to break the import cycle of hell between ipaplatform
and ipalib. All services now pass an ipalib.api object to
services.service(). RedHatServices.__init__() still needs to do a local
import because it initializes its wellknown service dict with service
instances.
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/opendnssecinstance.py')
-rw-r--r-- | ipaserver/install/opendnssecinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/opendnssecinstance.py b/ipaserver/install/opendnssecinstance.py index ea6cb51d4..39b81b6b4 100644 --- a/ipaserver/install/opendnssecinstance.py +++ b/ipaserver/install/opendnssecinstance.py @@ -317,7 +317,7 @@ class OpenDNSSECInstance(service.Service): except Exception: pass - ods_exporter = services.service('ipa-ods-exporter') + ods_exporter = services.service('ipa-ods-exporter', api) try: ods_exporter.stop() except Exception: |