Skip to content

Commit

Permalink
Merge pull request #246 from DMSC-Instrument-Data/242_semantic_versio…
Browse files Browse the repository at this point in the history
…n_fix

Works as described.
  • Loading branch information
MichaelWedel committed Jun 2, 2017
2 parents 38f8ccd + 215a878 commit f9cd8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lewis/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,6 @@ def is_compatible_with_framework(version):
if version is None:
return None

lewis_version = Version(__version__)
lewis_version = Version.coerce(__version__)

return lewis_version == Version(''.join(version.split()))
return lewis_version == Version.coerce(version.strip())

0 comments on commit f9cd8ef

Please sign in to comment.