diff --git a/borgmatic/borg/create.py b/borgmatic/borg/create.py index 0e816ee..11abac4 100644 --- a/borgmatic/borg/create.py +++ b/borgmatic/borg/create.py @@ -4,7 +4,7 @@ import logging import os import tempfile -from borgmatic.borg.execute import execute_command +from borgmatic.execute import execute_command from borgmatic.logger import get_logger logger = get_logger(__name__) diff --git a/borgmatic/borg/info.py b/borgmatic/borg/info.py index 3e52650..06c176e 100644 --- a/borgmatic/borg/info.py +++ b/borgmatic/borg/info.py @@ -1,6 +1,6 @@ import logging -from borgmatic.borg.execute import execute_command +from borgmatic.execute import execute_command from borgmatic.logger import get_logger logger = get_logger(__name__) diff --git a/borgmatic/borg/list.py b/borgmatic/borg/list.py index 4b28fd9..e76d42b 100644 --- a/borgmatic/borg/list.py +++ b/borgmatic/borg/list.py @@ -1,6 +1,6 @@ import logging -from borgmatic.borg.execute import execute_command +from borgmatic.execute import execute_command from borgmatic.logger import get_logger logger = get_logger(__name__) diff --git a/borgmatic/borg/execute.py b/borgmatic/execute.py similarity index 100% rename from borgmatic/borg/execute.py rename to borgmatic/execute.py diff --git a/tests/unit/borg/test_execute.py b/tests/unit/borg/test_execute.py index 272e402..f1bb00a 100644 --- a/tests/unit/borg/test_execute.py +++ b/tests/unit/borg/test_execute.py @@ -2,7 +2,7 @@ import logging from flexmock import flexmock -from borgmatic.borg import execute as module +from borgmatic import execute as module def test_execute_command_calls_full_command():