Make sure auth is present before checking for /
- Fixes bug 945882 Change-Id: I22a688b01678ab93e888c9537a3f611e43e22c30
This commit is contained in:
@ -1854,7 +1854,7 @@ def parse_args(parser, args, enforce_requires=True):
|
||||
options.key = options.password
|
||||
|
||||
# Handle trailing '/' in URL
|
||||
if not options.auth.endswith('/'):
|
||||
if options.auth and not options.auth.endswith('/'):
|
||||
options.auth += '/'
|
||||
|
||||
if enforce_requires and \
|
||||
|
Reference in New Issue
Block a user