Merge "Fix interactive password prompt"

This commit is contained in:
Jenkins 2015-07-13 18:58:21 +00:00 committed by Gerrit Code Review
commit 963f3049c0

View File

@ -125,7 +125,7 @@ class ClientManager(object):
# password auth is requested. # password auth is requested.
if (self.auth_plugin_name.endswith('password') and if (self.auth_plugin_name.endswith('password') and
not self._cli_options.auth.get('password', None)): not self._cli_options.auth.get('password', None)):
self._cli_options.os_password = self._pw_callback() self._cli_options.auth['password'] = self._pw_callback()
(auth_plugin, self._auth_params) = auth.build_auth_params( (auth_plugin, self._auth_params) = auth.build_auth_params(
self.auth_plugin_name, self.auth_plugin_name,