Merge pull request #1736 from larsks/bug/docker-version-parse
docker: fix parsing of docker __version__ string
This commit is contained in:
commit
2785364ebe
1 changed files with 1 additions and 0 deletions
|
@ -520,6 +520,7 @@ def get_docker_py_versioninfo():
|
|||
if not char.isdigit():
|
||||
nondigit = part[idx:]
|
||||
digit = part[:idx]
|
||||
break
|
||||
if digit:
|
||||
version.append(int(digit))
|
||||
if nondigit:
|
||||
|
|
Loading…
Reference in a new issue