mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
The permissions ('mode' flag) should default to 0666.
This commit is contained in:
parent
8ba4036a40
commit
9f2b524385
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ import bsddb
|
|||
|
||||
error = bsddb.error
|
||||
|
||||
def open(file, flag, mode):
|
||||
def open(file, flag, mode=0666):
|
||||
return bsddb.hashopen(file, flag, mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue