From 3d135f98d191ab58e9104076423ad3bbe1a9ffa5 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 21 Oct 2014 10:32:25 -0400 Subject: [PATCH] Small python3 compat in vault to keep code in sync with v2 --- lib/ansible/utils/vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/vault.py b/lib/ansible/utils/vault.py index 5ed2ad4559..506c0852f3 100644 --- a/lib/ansible/utils/vault.py +++ b/lib/ansible/utils/vault.py @@ -183,7 +183,7 @@ class VaultEditor(object): def _edit_file_helper(self, existing_data=None, cipher=None): # make sure the umask is set to a sane value - old_umask = os.umask(0077) + old_umask = os.umask(0o077) # Create a tempfile _, tmp_path = tempfile.mkstemp()