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():
|
if not char.isdigit():
|
||||||
nondigit = part[idx:]
|
nondigit = part[idx:]
|
||||||
digit = part[:idx]
|
digit = part[:idx]
|
||||||
|
break
|
||||||
if digit:
|
if digit:
|
||||||
version.append(int(digit))
|
version.append(int(digit))
|
||||||
if nondigit:
|
if nondigit:
|
||||||
|
|
Loading…
Reference in a new issue