summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2015-02-11 09:30:22 -0500
committerMonty Taylor <mordred@inaugust.com>2015-02-11 09:30:22 -0500
commit89d1e4d3c4cbbe67d60c5b96cfb8ae6762737fd2 (patch)
tree37cbcc7bf36808ead0c0b5447bfa6d51253759ab
parent01d7728504a77bdf03d6e4aa98edd66d55fa13f0 (diff)
downloados-client-config-89d1e4d3c4cbbe67d60c5b96cfb8ae6762737fd2.tar.gz
Don't return the auth dict inside the loop0.4.2
It turns out that when you're looping over a set of params to move them into an internal dict, returning inside the loop results in processing exactly one of them. This is not, it turns out, what you wanted. Change-Id: If1bf0c22b758e7238846b08991f4b0d25c841583
-rw-r--r--os_client_config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py
index 95dfaf7..72c24f9 100644
--- a/os_client_config/config.py
+++ b/os_client_config/config.py
@@ -251,7 +251,7 @@ class OpenStackConfig(object):
if winning_value:
config['auth'][p_opt.name.replace('-', '_')] = winning_value
- return config
+ return config
def get_one_cloud(self, cloud=None, validate=True,
argparse=None, **kwargs):