From 46b8cad4c3a5f7a4fb3a08b4ce6fb63fa47ebac3 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Wed, 1 Feb 2017 16:40:04 -0600 Subject: Clean up password prompt work-arounds osc-lib 1.2 is minimum and now handles the password prompting. Change-Id: Ie11ad64796d3a89c7396b321c34947d622d1ed39 --- openstackclient/shell.py | 1 + 1 file changed, 1 insertion(+) (limited to 'openstackclient/shell.py') diff --git a/openstackclient/shell.py b/openstackclient/shell.py index 4ec357cd..8fdf0b61 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -170,6 +170,7 @@ class OpenStackShell(shell.OpenStackShell): self.client_manager = clientmanager.ClientManager( cli_options=self.cloud, api_version=self.api_version, + pw_func=shell.prompt_for_password, ) def prepare_to_run_command(self, cmd): -- cgit v1.2.1