Skip to content

Commit

Permalink
Merge pull request #114 from craigcomstock/cfe-3905
Browse files Browse the repository at this point in the history
CFE-3905: Revert extra print statement in validate command
  • Loading branch information
olehermanse committed May 5, 2022
2 parents af04850 + 31e685d commit 5515ed3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cfbs/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def validate_version(name, modules):
raise CFBSIndexException(name, "Missing required attribute 'version'")
if type(modules[name]["version"]) != str:
raise CFBSIndexException(name, "'version' must be of type string")
print("validating version {}".format(modules[name]["version"]))
regex = r"(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-([0-9]+))?"
if re.fullmatch(regex, modules[name]["version"]) == None:
raise CFBSIndexException(name, "'version' must match regex %s" % regex)
Expand Down

0 comments on commit 5515ed3

Please sign in to comment.