From 99a339fa7b53d7ea5b947cddd1bb62af253998c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Pawe=C5=82=20G=C5=82azik?= Date: Thu, 17 Apr 2014 21:37:53 +0200 Subject: [PATCH] Fix comments and error message --- bin/ansible-vault | 2 +- lib/ansible/utils/vault.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ansible-vault b/bin/ansible-vault index bec3e0c4cb1..d7a49ee14b7 100755 --- a/bin/ansible-vault +++ b/bin/ansible-vault @@ -149,7 +149,7 @@ def execute_decrypt(args, options, parser): def execute_edit(args, options, parser): if len(args) > 1: - raise errors.AnsibleError("create does not accept more than one filename") + raise errors.AnsibleError("edit does not accept more than one filename") if not options.password_file: password, new_password = utils.ask_vault_passwords(ask_vault_pass=True) diff --git a/lib/ansible/utils/vault.py b/lib/ansible/utils/vault.py index c23e7508ca0..3b83d2989e9 100644 --- a/lib/ansible/utils/vault.py +++ b/lib/ansible/utils/vault.py @@ -266,7 +266,7 @@ class VaultEditor(object): _, tmp_path = tempfile.mkstemp() self.write_data(dec_data, tmp_path) - # drop the user into vim on the tmp file + # drop the user into pager on the tmp file call(self._pager_shell_command(tmp_path)) os.remove(tmp_path)