Commit 3d135f98 by Toshio Kuratomi

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

parent 43b3eecf
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment