summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2006-06-08 05:39:54 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2006-06-08 05:39:54 (GMT)
commit996710fd44426f43d54034ebf3ee2355fca18f6a (patch)
tree150553a38fdbe948f3cd47be19575aec3127db39 /Lib
parentdda291c079e6c8e074c99df1bfef52936d68fa1b (diff)
downloadcpython-996710fd44426f43d54034ebf3ee2355fca18f6a.zip
cpython-996710fd44426f43d54034ebf3ee2355fca18f6a.tar.gz
cpython-996710fd44426f43d54034ebf3ee2355fca18f6a.tar.bz2
pasted set_lk_detect line in wrong spot in previous commit. fixed. passes tests this time.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/bsddb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/__init__.py b/Lib/bsddb/__init__.py
index d5ab000..90ed362 100644
--- a/Lib/bsddb/__init__.py
+++ b/Lib/bsddb/__init__.py
@@ -343,8 +343,8 @@ def _openDBEnv(cachesize):
e.set_cachesize(0, cachesize)
else:
raise error, "cachesize must be >= 20480"
- e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
e.set_lk_detect(db.DB_LOCK_DEFAULT)
+ e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
return e
def _checkflag(flag, file):