From 9f2b5243851146f09fcaadc2dbfa97da329c8417 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 3 Jul 1998 14:16:55 +0000 Subject: The permissions ('mode' flag) should default to 0666. --- Lib/dbhash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12