The permissions ('mode' flag) should default to 0666.

This commit is contained in:
Guido van Rossum 1998-07-03 14:16:55 +00:00
parent 8ba4036a40
commit 9f2b524385

View File

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