summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2016-08-22 08:29:29 -0500
committerDean Troyer <dtroyer@gmail.com>2016-08-22 08:29:35 -0500
commit684412ca4cc0abad2c2a800d8247d12992b994e5 (patch)
treeab1bd795d8ed56b6deedad13553e36765ea498bb
parentcb31fda264b65c933bc6416d4ad0e25a7ea6864b (diff)
downloadpython-openstackclient-3.0.1.tar.gz
Work around a version clash issue with os-client-config3.0.1
Need to add the fixed_arguments arg to _validate_auth() so os-client-config 1.19.1 and 1.20.0 can call our version properly. Change-Id: I328e47ba2f8115e6b18bf1482fd4aa35056907a4
-rw-r--r--openstackclient/common/client_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/common/client_config.py b/openstackclient/common/client_config.py
index cc6cad58..bbcb34eb 100644
--- a/openstackclient/common/client_config.py
+++ b/openstackclient/common/client_config.py
@@ -148,11 +148,11 @@ class OSC_Config(OpenStackConfig):
LOG.debug("auth_config_hook(): %s" % config)
return config
- def _validate_auth_ksc(self, config, cloud):
+ def _validate_auth_ksc(self, config, cloud, fixed_argparse=None):
"""Old compatibility hack for OSC, no longer needed/wanted"""
return config
- def _validate_auth(self, config, loader):
+ def _validate_auth(self, config, loader, fixed_argparse=None):
"""Validate auth plugin arguments"""
# May throw a keystoneauth1.exceptions.NoMatchingPlugin