From 2f9fa85741990405292935f352e9801bbd7cb55a Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Tue, 6 Mar 2018 16:21:32 +0000 Subject: [PATCH] make parseVersionString a bit more lenient --- fsl/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsl/version.py b/fsl/version.py index a7b2e3d5a..747748614 100644 --- a/fsl/version.py +++ b/fsl/version.py @@ -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 -- GitLab