]> granicus.if.org Git - python/commitdiff
Fix typo in except clause (_db should be _bsddb).
authorGuido van Rossum <guido@python.org>
Mon, 2 Dec 2002 16:08:54 +0000 (16:08 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 2 Dec 2002 16:08:54 +0000 (16:08 +0000)
Lib/bsddb/dbutils.py

index 1a8bc7891ae8ab14e7f7e821853862172bd6cc93..81b6d8ae17085c51750b66573ab3e8ea409aa3ce 100644 (file)
@@ -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)