Skip to content

Commit

Permalink
move cmdhelper module to otaclient_common
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Jun 19, 2024
1 parent 546aa04 commit 3a65ef1
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/otaclient/app/boot_control/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from pathlib import Path
from typing import Callable, Literal, Optional, Union

from otaclient import cmdhelper
from otaclient_common import cmdhelper
from otaclient.app.configs import config as cfg
from otaclient_api.v2 import types as api_types
from otaclient_common.common import read_str_from_file, write_str_to_file_sync
Expand Down
2 changes: 1 addition & 1 deletion src/otaclient/app/boot_control/_grub.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from subprocess import CalledProcessError
from typing import ClassVar, Dict, Generator, List, Optional, Tuple

from otaclient import cmdhelper
from otaclient_common import cmdhelper
from otaclient.app import errors as ota_errors
from otaclient.app.boot_control._common import (
OTAStatusFilesControl,
Expand Down
2 changes: 1 addition & 1 deletion src/otaclient/app/boot_control/_jetson_cboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pathlib import Path
from typing import Generator, Optional

from otaclient import cmdhelper
from otaclient_common import cmdhelper
from otaclient.app import errors as ota_errors
from otaclient.app.boot_control._common import OTAStatusFilesControl, SlotMountHelper
from otaclient.app.boot_control._jetson_common import (
Expand Down
2 changes: 1 addition & 1 deletion src/otaclient/app/boot_control/_jetson_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from pydantic import BaseModel, BeforeValidator, PlainSerializer
from typing_extensions import Annotated, Literal, Self

from otaclient import cmdhelper
from otaclient_common import cmdhelper
from otaclient_common.common import copytree_identical, write_str_to_file_sync

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion src/otaclient/app/boot_control/_rpi_boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from typing_extensions import Self

import otaclient.app.errors as ota_errors
from otaclient import cmdhelper
from otaclient_common import cmdhelper
from otaclient.app.boot_control._common import (
OTAStatusFilesControl,
SlotMountHelper,
Expand Down
2 changes: 1 addition & 1 deletion src/otaclient/app/ota_client_stub.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from otaclient_api.v2.api_caller import ECUNoResponse, OTAClientCall
from otaclient_common.common import ensure_otaproxy_start

from .. import cmdhelper
from ...otaclient_common import cmdhelper
from .configs import config as cfg
from .configs import ecu_info, proxy_info, server_cfg
from .ota_client import OTAClientControlFlags, OTAServicer
Expand Down
File renamed without changes.

0 comments on commit 3a65ef1

Please sign in to comment.