auth url should never should be None
urlparse method of urllib in python2 throws exception if it tries to parse 'None' in python3 it behaves correctly no exception is thrown this fixes the py27 tox failure Depends-on: Iac42f592834734a6fddb743e947860b3bb7e1aba Change-Id: I5c2399eb2bc8874dc03f96970af9f56539060502
This commit is contained in:
parent
581358ec1a
commit
efb2a039e7
@ -43,7 +43,7 @@ class BasicAndKeystoneAuth(AuthProtocol):
|
||||
validate_default_values=True)
|
||||
password_option = loading.get_auth_plugin_conf_options('password')
|
||||
self.oslo_conf.register_opts(password_option, group=CFG_GROUP)
|
||||
self.auth_url = self.oslo_conf.service_credentials.auth_url
|
||||
self.auth_url = self.oslo_conf.service_credentials.auth_url or ''
|
||||
|
||||
@property
|
||||
def reject_auth_headers(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user