Skip to content

Commit

Permalink
Updated Display.do_var_prompt to use to_native on prompt ( Fixes ansi…
Browse files Browse the repository at this point in the history
…ble#30265 ) (ansible#30285)

* Updated Display.prompt to use the normalized prompt message.
  • Loading branch information
Shaps authored and abadger committed Sep 13, 2017
1 parent b38f746 commit ea8af15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/utils/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def prompt(msg, private=False):
prompt_string = to_text(prompt_string)

if private:
return getpass.getpass(msg)
return getpass.getpass(prompt_string)
else:
return input(prompt_string)

Expand Down

0 comments on commit ea8af15

Please sign in to comment.