# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1523010424 -7200
#      Fri Apr 06 12:27:04 2018 +0200
# Node ID 7481feb911db36876d91c9266ef2dd1fd050ad34
# Parent  11dcc5b3168aef90d80569ab73f94879ef2c7aca
remove duplicate call

diff --git a/docker_build.py b/docker_build.py
--- a/docker_build.py
+++ b/docker_build.py
@@ -128,8 +128,6 @@
         c.get('odoo_scripts', 'odoo_type')) or 'odoo7'
     image = "%s/%s:latest" % (registry, project)
     logging.debug("Docker image: %s", image)
-    # detect if docker image already exists
-    docker_client = docker_api(base_url='unix://var/run/docker.sock')
     # TODO ensureconf
     if ensureconf:
         raise NotImplementedError