Merge pull request #1736 from larsks/bug/docker-version-parse

docker: fix parsing of docker __version__ string
reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
commit 2785364ebe

@ -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…
Cancel
Save