Small python3 compat in vault to keep code in sync with v2

This commit is contained in:
Toshio Kuratomi 2014-10-21 10:32:25 -04:00
parent 43b3eecf52
commit 3d135f98d1

View file

@ -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()