summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-29 21:09:58 +0000
committerGerrit Code Review <review@openstack.org>2016-08-29 21:09:58 +0000
commitc5f8f761de01e7dee7d65ccba40e8ee4cf116500 (patch)
tree8ea65ab26ab5dc1d70dd8a9568fc3d4801721416 /openstackclient/shell.py
parent0ee74b4b274202de6e39b920a8a6d2c23ebb5a87 (diff)
parentbec206fa0a0214d856259661c5e32086f33d2f62 (diff)
downloadpython-openstackclient-c5f8f761de01e7dee7d65ccba40e8ee4cf116500.tar.gz
Merge "Fix auth prompt brokenness"
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index da58b63b..26147be9 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -145,6 +145,7 @@ class OpenStackShell(shell.OpenStackShell):
'interface': None,
'auth_type': self._auth_type,
},
+ pw_func=shell.prompt_for_password,
)
except (IOError, OSError) as e:
self.log.critical("Could not read clouds.yaml configuration file")
@@ -162,7 +163,6 @@ class OpenStackShell(shell.OpenStackShell):
self.client_manager = clientmanager.ClientManager(
cli_options=self.cloud,
api_version=self.api_version,
- pw_func=shell.prompt_for_password,
)