Commit 9f2b5243 authored by Guido van Rossum's avatar Guido van Rossum

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

parent 8ba4036a
...@@ -4,5 +4,5 @@ import bsddb ...@@ -4,5 +4,5 @@ import bsddb
error = bsddb.error error = bsddb.error
def open(file, flag, mode): def open(file, flag, mode=0666):
return bsddb.hashopen(file, flag, mode) return bsddb.hashopen(file, flag, mode)
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