From 07e713e7c66aeaa692c242b8340ae3199edc127b Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 7 Sep 2016 10:48:01 -0400 Subject: [PATCH] Fix NameError on 'ansible-vault view' (#17440) --- lib/ansible/cli/vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/vault.py b/lib/ansible/cli/vault.py index 65657ca70e..5cdbdb3656 100644 --- a/lib/ansible/cli/vault.py +++ b/lib/ansible/cli/vault.py @@ -163,7 +163,7 @@ class VaultCLI(CLI): # unicode here because we are displaying it and therefore can make # the decision that the display doesn't have to be precisely what # the input was (leave that to decrypt instead) - self.pager(ansible.module_utils._text.to_text(self.editor.plaintext(f))) + self.pager(to_text(self.editor.plaintext(f))) def execute_rekey(self): for f in self.args: