Skip to content
Snippets Groups Projects
Commit 1f585c7c42f2 authored by Brendan Masson's avatar Brendan Masson
Browse files

docker dev start: fix version check

Adapt script so that it can handle versions numbers like 1.9.0
parent e9056cc273ed
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@
__updated__ = '2017-08-24'
# Check the version of the "docker" package
if docker.__version__ != '1.9':
if docker.__version__.split('.') < [2]:
print("the version of the docker package is {} instead of 1.9"
.format(docker.__version__))
sys.exit(1)
......
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