Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Evan Edmond
fslpy
Commits
2f9fa857
Commit
2f9fa857
authored
Mar 06, 2018
by
Paul McCarthy
🚵
Browse files
make parseVersionString a bit more lenient
parent
7f835153
Changes
1
Show whitespace changes
Inline
Side-by-side
fsl/version.py
View file @
2f9fa857
...
...
@@ -60,7 +60,7 @@ def parseVersionString(versionString):
# number will end with '.dev', but
# we ignore this for the purposes of
# comparison.
if
len
(
components
)
==
4
and
components
[
3
]
==
'dev'
:
if
len
(
components
)
==
4
and
components
[
3
]
.
startswith
(
'dev'
)
:
components
=
components
[:
3
]
# Major, minor, and point
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment