Merge "Don't add trailing slash to auth URL."

This commit is contained in:
Jenkins
2012-12-06 01:45:16 +00:00
committed by Gerrit Code Review

View File

@@ -1032,10 +1032,6 @@ def parse_args(parser, args, enforce_requires=True):
'region_name': options.os_region_name,
}
# Handle trailing '/' in URL
if options.auth and not options.auth.endswith('/'):
options.auth += '/'
if enforce_requires and \
not (options.auth and options.user and options.key):
exit('''