Skip to content
Permalink
Browse files

[debops.docker_server] Fix fact script on Python3

  • Loading branch information...
drybjed committed Aug 13, 2019
1 parent 1c078f9 commit 495906c799084d66e64f42deea5f819be133dee7
@@ -32,7 +32,7 @@ output = {'installed': cmd_exists('docker')}
try:
version_stdout = subprocess.check_output(
["dpkg-query", "-W", "-f=${Version}\n'", docker_pkg]
).split('+')[0]
).decode('utf-8').split('+')[0]

match = re.search(r'^(?:[^:]:)?(?P<docker_version>[^~]+)', version_stdout)
if match:

0 comments on commit 495906c

Please sign in to comment.
You can’t perform that action at this time.