diff options
author | Guido van Rossum <guido@python.org> | 1998-07-03 14:16:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-03 14:16:55 (GMT) |
commit | 9f2b5243851146f09fcaadc2dbfa97da329c8417 (patch) | |
tree | c6dfa42d85f6b9c747e120ceeaaeaed2403d9a7a | |
parent | 8ba4036a40ca06c9e91e0ca2056e157e3594388b (diff) | |
download | cpython-9f2b5243851146f09fcaadc2dbfa97da329c8417.zip cpython-9f2b5243851146f09fcaadc2dbfa97da329c8417.tar.gz cpython-9f2b5243851146f09fcaadc2dbfa97da329c8417.tar.bz2 |
The permissions ('mode' flag) should default to 0666.
-rw-r--r-- | Lib/dbhash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dbhash.py b/Lib/dbhash.py index 57c6194..f440fd5 100644 --- a/Lib/dbhash.py +++ b/Lib/dbhash.py @@ -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) |