snapctl 0.46.0__tar.gz → 0.46.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of snapctl might be problematic. Click here for more details.
- {snapctl-0.46.0 → snapctl-0.46.2}/PKG-INFO +1 -1
- {snapctl-0.46.0 → snapctl-0.46.2}/pyproject.toml +1 -1
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/byosnap.py +4 -8
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/constants.py +1 -1
- {snapctl-0.46.0 → snapctl-0.46.2}/LICENSE +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/README.md +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/__init__.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/__main__.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/__init__.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/byogs.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/game.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/generate.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/release_notes.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/snapend.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/__init__.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/endpoints.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/hashes.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/data/profiles/snapser-byosnap-profile.json +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/data/profiles/snapser-byosnap-profile.yaml +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/data/releases/beta-0.46.0.mdx +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/main.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/types/__init__.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/types/definitions.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/utils/__init__.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/utils/echo.py +0 -0
- {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/utils/helper.py +0 -0
|
@@ -445,16 +445,14 @@ class ByoSnap:
|
|
|
445
445
|
snapctl_error(
|
|
446
446
|
message='Invalid env_params value in BYOSnap profile. env_params key ' +
|
|
447
447
|
'should not be empty. ' +
|
|
448
|
-
f"Check the key entry at {
|
|
449
|
-
profile}.env_params #{env_index}.",
|
|
448
|
+
f"Check the key entry at {profile}.env_params #{env_index}.",
|
|
450
449
|
code=SNAPCTL_INPUT_ERROR
|
|
451
450
|
)
|
|
452
451
|
if env_param['value'] is None or env_param['value'].strip() == '':
|
|
453
452
|
snapctl_error(
|
|
454
453
|
message='Invalid env_params value in BYOSnap profile. env_params value ' +
|
|
455
454
|
'should not be empty. ' +
|
|
456
|
-
f"Check the value entry at {
|
|
457
|
-
profile}.env_params #{env_index}.",
|
|
455
|
+
f"Check the value entry at {profile}.env_params #{env_index}.",
|
|
458
456
|
code=SNAPCTL_INPUT_ERROR
|
|
459
457
|
)
|
|
460
458
|
return profile_data
|
|
@@ -1525,14 +1523,12 @@ class ByoSnap:
|
|
|
1525
1523
|
file_save_path = os.path.join(
|
|
1526
1524
|
os.getcwd(), self.profile_filename)
|
|
1527
1525
|
file_written = ByoSnap._handle_output_file(
|
|
1528
|
-
f"{ByoSnap.PROFILE_FILES_PATH}{
|
|
1529
|
-
self.profile_filename}", file_save_path
|
|
1526
|
+
f"{ByoSnap.PROFILE_FILES_PATH}{self.profile_filename}", file_save_path
|
|
1530
1527
|
)
|
|
1531
1528
|
if file_written:
|
|
1532
1529
|
snapctl_success(
|
|
1533
1530
|
message="BYOSNAP Profile generation successful. " +
|
|
1534
|
-
f"{self.profile_filename} saved at {
|
|
1535
|
-
file_save_path}",
|
|
1531
|
+
f"{self.profile_filename} saved at {file_save_path}",
|
|
1536
1532
|
progress=progress,
|
|
1537
1533
|
no_exit=no_exit
|
|
1538
1534
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|