mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
* Updated Display.prompt to use the normalized prompt message.
This commit is contained in:
committed by
Toshio Kuratomi
parent
b38f746604
commit
ea8af15dfe
@@ -279,7 +279,7 @@ class Display:
|
|||||||
prompt_string = to_text(prompt_string)
|
prompt_string = to_text(prompt_string)
|
||||||
|
|
||||||
if private:
|
if private:
|
||||||
return getpass.getpass(msg)
|
return getpass.getpass(prompt_string)
|
||||||
else:
|
else:
|
||||||
return input(prompt_string)
|
return input(prompt_string)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user