mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Small python3 compat in vault to keep code in sync with v2
This commit is contained in:
parent
43b3eecf52
commit
3d135f98d1
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue