diff options
author | Guido van Rossum <guido@python.org> | 2002-12-02 16:08:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-02 16:08:54 (GMT) |
commit | 0d366b1418dfc980ead4b13526703aa2ee5e10e7 (patch) | |
tree | 147fb624f22b6eb02a09f0053107f42f0413a511 /Lib/bsddb/dbutils.py | |
parent | 62d45c0af9224a00009d96e0fbf1995dc6b12908 (diff) | |
download | cpython-0d366b1418dfc980ead4b13526703aa2ee5e10e7.zip cpython-0d366b1418dfc980ead4b13526703aa2ee5e10e7.tar.gz cpython-0d366b1418dfc980ead4b13526703aa2ee5e10e7.tar.bz2 |
Fix typo in except clause (_db should be _bsddb).
Diffstat (limited to 'Lib/bsddb/dbutils.py')
-rw-r--r-- | Lib/bsddb/dbutils.py | 2 |
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) |