Merge "Don't add trailing slash to auth URL."
This commit is contained in:
commit
1662cbd0a3
@ -1032,10 +1032,6 @@ def parse_args(parser, args, enforce_requires=True):
|
|||||||
'region_name': options.os_region_name,
|
'region_name': options.os_region_name,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Handle trailing '/' in URL
|
|
||||||
if options.auth and not options.auth.endswith('/'):
|
|
||||||
options.auth += '/'
|
|
||||||
|
|
||||||
if enforce_requires and \
|
if enforce_requires and \
|
||||||
not (options.auth and options.user and options.key):
|
not (options.auth and options.user and options.key):
|
||||||
exit('''
|
exit('''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user