summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/bsddb/dbutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/dbutils.py b/Lib/bsddb/dbutils.py
index 1a8bc78..81b6d8a 100644
--- a/Lib/bsddb/dbutils.py
+++ b/Lib/bsddb/dbutils.py
@@ -58,7 +58,7 @@ def DeadlockWrap(function, *_args, **_kwargs):
while 1:
try:
return apply(function, _args, _kwargs)
- except _db.DBLockDeadlockError:
+ except _bsddb.DBLockDeadlockError:
if _deadlock_VerboseFile:
_deadlock_VerboseFile.write('dbutils.DeadlockWrap: sleeping %1.3f\n' % sleeptime)
_sleep(sleeptime)