diff options
author | Guido van Rossum <guido@python.org> | 1998-07-03 14:16:55 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-03 14:16:55 +0000 |
commit | 9f2b5243851146f09fcaadc2dbfa97da329c8417 (patch) | |
tree | c6dfa42d85f6b9c747e120ceeaaeaed2403d9a7a /Lib/dbhash.py | |
parent | 8ba4036a40ca06c9e91e0ca2056e157e3594388b (diff) | |
download | cpython-git-9f2b5243851146f09fcaadc2dbfa97da329c8417.tar.gz |
The permissions ('mode' flag) should default to 0666.
Diffstat (limited to 'Lib/dbhash.py')
-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 57c6194b6c..f440fd5297 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) |