From 7eebab43ae2cf9c0690e35edead94b4390eedea2 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Wed, 18 Mar 2015 14:28:32 +0100 Subject: [PATCH] Convert tuple items to string before format --- lib/ansible/modules/cloud/docker/docker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/docker/docker.py b/lib/ansible/modules/cloud/docker/docker.py index 4b61f081de..67114129d9 100644 --- a/lib/ansible/modules/cloud/docker/docker.py +++ b/lib/ansible/modules/cloud/docker/docker.py @@ -661,9 +661,9 @@ class DockerManager(object): ' docker-py: %s, docker server apiversion %s; found' ' docker-py: %s, server: %s' % ( capability, - '.'.join(self._cap_ver_req[capability][0]), + '.'.join(map(str, self._cap_ver_req[capability][0])), self._cap_ver_req[capability][1], - '.'.join(self.docker_py_versioninfo), + '.'.join(map(str, self.docker_py_versioninfo)), api_version)) def get_links(self, links):