Skip to content
Snippets Groups Projects
Commit de66251a authored by Duncan Macleod's avatar Duncan Macleod Committed by GraceDB
Browse files

gracedb.core: updated octal for python3

parent 8d571b10
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class VersionedFile(file):
# os.O_EXCL causes the open to fail if the file already exists.
fd = os.open(actual_name,
os.O_WRONLY | os.O_CREAT | os.O_EXCL,
0644)
0o644)
# re-open
file.__init__(self, actual_name, *args, **kwargs)
# lose fd we used to ensure file creation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment