summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-13 18:09:31 +0000
committerGerrit Code Review <review@openstack.org>2017-06-13 18:09:31 +0000
commit737f40d755b29229d698b37239c4179a08a17a17 (patch)
tree69436244cc1dc76d75d20de10bf6ecddafee9ad0 /docker
parentd3ff20a1005e7b12341ddefc5a289405d7f5ec2c (diff)
parent43d08a0bfa513e064ea99a2246a1c657a5f74bfc (diff)
Merge "Fix bug in docker-toool where values are sometimes empty."
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/docker-toool3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/docker-toool b/docker/docker-toool
index 36aba4a7..0b87ea92 100755
--- a/docker/docker-toool
+++ b/docker/docker-toool
@@ -75,6 +75,9 @@ def parse_opts(argv):
def docker_arg_map(key, value):
value = str(value).encode('ascii', 'ignore')
+ if len(value) == 0:
+ return ''
+
return {
'environment': "--env=%s" % value,
# 'image': value,