summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-02 16:08:54 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-02 16:08:54 (GMT)
commit0d366b1418dfc980ead4b13526703aa2ee5e10e7 (patch)
tree147fb624f22b6eb02a09f0053107f42f0413a511 /Lib
parent62d45c0af9224a00009d96e0fbf1995dc6b12908 (diff)
downloadcpython-0d366b1418dfc980ead4b13526703aa2ee5e10e7.zip
cpython-0d366b1418dfc980ead4b13526703aa2ee5e10e7.tar.gz
cpython-0d366b1418dfc980ead4b13526703aa2ee5e10e7.tar.bz2
Fix typo in except clause (_db should be _bsddb).
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)