Skip to content
Snippets Groups Projects
Commit 2f9fa857 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

make parseVersionString a bit more lenient

parent 7f835153
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ def parseVersionString(versionString): ...@@ -60,7 +60,7 @@ def parseVersionString(versionString):
# number will end with '.dev', but # number will end with '.dev', but
# we ignore this for the purposes of # we ignore this for the purposes of
# comparison. # comparison.
if len(components) == 4 and components[3] == 'dev': if len(components) == 4 and components[3].startswith('dev'):
components = components[:3] components = components[:3]
# Major, minor, and point # Major, minor, and point
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment