diff --git a/tripleoclient/v1/overcloud_deploy.py b/tripleoclient/v1/overcloud_deploy.py index dca125189..75d005588 100644 --- a/tripleoclient/v1/overcloud_deploy.py +++ b/tripleoclient/v1/overcloud_deploy.py @@ -408,8 +408,7 @@ class DeployOvercloud(command.Command): no_proxy_list = map(utils.bracket_ipv6, [no_proxy, overcloud_ip_or_fqdn, keystone_admin_ip]) - os.environ['no_proxy'] = ','.join( - [x for x in no_proxy_list if x is not None]) + os.environ['no_proxy'] = ','.join([x for x in no_proxy_list if x]) utils.remove_known_hosts(overcloud_ip_or_fqdn)