Skip to content

Commit

Permalink
api: rename fix/common folder to fix/_common
Browse files Browse the repository at this point in the history
Rename the module to indicate that the content in this folder
is for internal use only
  • Loading branch information
lucasmoura authored and orndorffgrant committed Sep 29, 2023
1 parent 5af1d7a commit 1d1e2ee
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion uaclient/api/tests/test_api_u_pro_security_fix_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
PackageCannotBeInstalledData,
SecurityIssueNotFixedData,
)
from uaclient.api.u.pro.security.fix.common.execute.v1 import (
from uaclient.api.u.pro.security.fix._common.execute.v1 import (
FailedUpgrade,
FixExecuteError,
FixExecuteResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
FixPlanWarningPackageCannotBeInstalled,
FixPlanWarningSecurityIssueNotFixed,
)
from uaclient.api.u.pro.security.fix.common import status_message
from uaclient.api.u.pro.security.fix._common import status_message
from uaclient.data_types import DataObject, Field, StringDataValue, data_list
from uaclient.security import FixStatus

Expand Down
4 changes: 2 additions & 2 deletions uaclient/api/u/pro/security/fix/cve/execute/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from uaclient.api.api import APIEndpoint
from uaclient.api.data_types import AdditionalInfo
from uaclient.api.u.pro.security.fix.common import get_expected_overall_status
from uaclient.api.u.pro.security.fix.common.execute.v1 import (
from uaclient.api.u.pro.security.fix._common import get_expected_overall_status
from uaclient.api.u.pro.security.fix._common.execute.v1 import (
FixExecuteResult,
_execute_fix,
)
Expand Down
2 changes: 1 addition & 1 deletion uaclient/api/u/pro/security/fix/cve/plan/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from uaclient.api.api import APIEndpoint
from uaclient.api.data_types import AdditionalInfo
from uaclient.api.u.pro.security.fix import FixPlanResult, fix_plan_cve
from uaclient.api.u.pro.security.fix.common import get_expected_overall_status
from uaclient.api.u.pro.security.fix._common import get_expected_overall_status
from uaclient.config import UAConfig
from uaclient.data_types import DataObject, Field, StringDataValue, data_list

Expand Down
4 changes: 2 additions & 2 deletions uaclient/api/u/pro/security/fix/usn/execute/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from uaclient.api.api import APIEndpoint
from uaclient.api.data_types import AdditionalInfo
from uaclient.api.u.pro.security.fix.common import get_expected_overall_status
from uaclient.api.u.pro.security.fix.common.execute.v1 import (
from uaclient.api.u.pro.security.fix._common import get_expected_overall_status
from uaclient.api.u.pro.security.fix._common.execute.v1 import (
FixExecuteResult,
_execute_fix,
)
Expand Down
2 changes: 1 addition & 1 deletion uaclient/api/u/pro/security/fix/usn/plan/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from uaclient.api.api import APIEndpoint
from uaclient.api.data_types import AdditionalInfo
from uaclient.api.u.pro.security.fix import FixPlanUSNResult, fix_plan_usn
from uaclient.api.u.pro.security.fix.common import get_expected_overall_status
from uaclient.api.u.pro.security.fix._common import get_expected_overall_status
from uaclient.config import UAConfig
from uaclient.data_types import DataObject, Field, StringDataValue, data_list

Expand Down
2 changes: 1 addition & 1 deletion uaclient/cli/fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
NoOpLivepatchFixData,
USNAdditionalData,
)
from uaclient.api.u.pro.security.fix.common import status_message
from uaclient.api.u.pro.security.fix._common import status_message
from uaclient.api.u.pro.security.fix.cve.plan.v1 import CVEFixPlanOptions
from uaclient.api.u.pro.security.fix.cve.plan.v1 import _plan as cve_plan
from uaclient.api.u.pro.security.fix.usn.plan.v1 import USNFixPlanOptions
Expand Down

0 comments on commit 1d1e2ee

Please sign in to comment.