Fix NameError on 'ansible-vault view' (#17440)

pull/17444/head
Adrian Likins 8 years ago committed by GitHub
parent 8c43750a3e
commit 07e713e7c6

@ -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:

Loading…
Cancel
Save