commit | 9f2b5243851146f09fcaadc2dbfa97da329c8417 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jul 03 14:16:55 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jul 03 14:16:55 1998 +0000 |
tree | c6dfa42d85f6b9c747e120ceeaaeaed2403d9a7a | |
parent | 8ba4036a40ca06c9e91e0ca2056e157e3594388b [diff] [blame] |
The permissions ('mode' flag) should default to 0666.
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 @@ error = bsddb.error -def open(file, flag, mode): +def open(file, flag, mode=0666): return bsddb.hashopen(file, flag, mode)