summaryrefslogtreecommitdiffstats
path: root/Lib/dbhash.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-03 14:16:55 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-03 14:16:55 (GMT)
commit9f2b5243851146f09fcaadc2dbfa97da329c8417 (patch)
treec6dfa42d85f6b9c747e120ceeaaeaed2403d9a7a /Lib/dbhash.py
parent8ba4036a40ca06c9e91e0ca2056e157e3594388b (diff)
downloadcpython-9f2b5243851146f09fcaadc2dbfa97da329c8417.zip
cpython-9f2b5243851146f09fcaadc2dbfa97da329c8417.tar.gz
cpython-9f2b5243851146f09fcaadc2dbfa97da329c8417.tar.bz2
The permissions ('mode' flag) should default to 0666.
Diffstat (limited to 'Lib/dbhash.py')
-rw-r--r--Lib/dbhash.py2
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)