mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 23:23:30 -06:00
682b59c8e8
Move all the routines run_ods* from tasks to _ods14 or _ods21 module Related: https://pagure.io/freeipa/issue/8214 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
15 lines
376 B
Python
15 lines
376 B
Python
#
|
|
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
import os
|
|
from ipaplatform.paths import paths
|
|
|
|
# pylint: disable=unused-import
|
|
if paths.ODS_KSMUTIL is not None and os.path.exists(paths.ODS_KSMUTIL):
|
|
from ._ods14 import ODSDBConnection, ODSSignerConn, ODSTask
|
|
else:
|
|
from ._ods21 import ODSDBConnection, ODSSignerConn, ODSTask
|
|
|
|
tasks = ODSTask()
|