Commit 2f9fa857 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

make parseVersionString a bit more lenient

parent 7f835153
...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment