mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
add a check for major version == 0
This commit is contained in:
@@ -22,6 +22,9 @@ def verify_version():
|
||||
for v in parts:
|
||||
# this verifies parsability, exceptions here are expected for bad input
|
||||
int(v)
|
||||
if int(parts[0]) != 0:
|
||||
print("Major version must be 0")
|
||||
sys.exit(1)
|
||||
|
||||
def write_version():
|
||||
# Writing operation
|
||||
|
||||
Reference in New Issue
Block a user