Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
1f585c7c42f2
Commit
1f585c7c42f2
authored
7 years ago
by
Brendan Masson
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker_dev_start.py
+1
-1
1 addition, 1 deletion
docker_dev_start.py
with
1 addition
and
1 deletion
docker_dev_start.py
+
1
−
1
View file @
1f585c7c
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment