mirror of https://github.com/python/cpython.git
The permissions ('mode' flag) should default to 0666.
This commit is contained in:
parent
8ba4036a40
commit
9f2b524385
|
@ -4,5 +4,5 @@
|
|||
|
||||
error = bsddb.error
|
||||
|
||||
def open(file, flag, mode):
|
||||
def open(file, flag, mode=0666):
|
||||
return bsddb.hashopen(file, flag, mode)
|
||||
|
|
Loading…
Reference in New Issue