Fix the typo in openstackclient/shell.py

Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
This commit is contained in:
Dave Chen 2015-06-14 14:59:38 +08:00
parent aac0d588bd
commit b3289601c7

@ -43,7 +43,7 @@ DEFAULT_DOMAIN = 'default'
def prompt_for_password(prompt=None):
"""Prompt user for a password
Propmpt for a password if stdin is a tty.
Prompt for a password if stdin is a tty.
"""
if not prompt:
@ -228,7 +228,7 @@ class OpenStackShell(app.App):
# Parent __init__ parses argv into self.options
super(OpenStackShell, self).initialize_app(argv)
# Set the default plugin to token_endpoint if rl and token are given
# Set the default plugin to token_endpoint if url and token are given
if (self.options.url and self.options.token):
# Use service token authentication
cloud_config.set_default('auth_type', 'token_endpoint')