diff --git a/src/fmu/dataio/hook_implementations/jobs.py b/src/fmu/dataio/hook_implementations/jobs.py index ed867ae7b..9c06e79fb 100644 --- a/src/fmu/dataio/hook_implementations/jobs.py +++ b/src/fmu/dataio/hook_implementations/jobs.py @@ -1,9 +1,9 @@ try: - from ert_shared.plugins.plugin_manager import hook_implementation - from ert_shared.plugins.plugin_response import plugin_response -except ModuleNotFoundError: from ert.shared.plugins.plugin_manager import hook_implementation from ert.shared.plugins.plugin_response import plugin_response +except ModuleNotFoundError: + from ert_shared.plugins.plugin_manager import hook_implementation + from ert_shared.plugins.plugin_response import plugin_response @hook_implementation diff --git a/src/fmu/dataio/scripts/create_case_metadata.py b/src/fmu/dataio/scripts/create_case_metadata.py index 307b0ccb2..cbba51eb7 100644 --- a/src/fmu/dataio/scripts/create_case_metadata.py +++ b/src/fmu/dataio/scripts/create_case_metadata.py @@ -14,9 +14,9 @@ from pathlib import Path try: - from ert_shared.plugins.plugin_manager import hook_implementation # type: ignore + from ert.shared.plugins.plugin_manager import hook_implementation # type: ignore except ModuleNotFoundError: - from ert.shared.plugins.plugin_manager import hook_implementation + from ert_shared.plugins.plugin_manager import hook_implementation # type: ignore try: from ert import ErtScript # type: ignore