Skip to content

Commit 53598ba

Browse files
Format
1 parent a9a895e commit 53598ba

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/abstract_charm.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ def is_compatible(
5151
return False
5252

5353
# Check workload version compatibility
54-
old_major, old_minor, old_patch = (int(component) for component in old_workload_version.split("."))
55-
new_major, new_minor, new_patch = (int(component) for component in new_workload_version.split("."))
54+
old_major, old_minor, old_patch = (
55+
int(component) for component in old_workload_version.split(".")
56+
)
57+
new_major, new_minor, new_patch = (
58+
int(component) for component in new_workload_version.split(".")
59+
)
5660
if old_major != new_major:
5761
return False
5862
if new_minor > old_minor:

0 commit comments

Comments
 (0)