From: Guido van Rossum Date: Mon, 2 Dec 2002 16:08:54 +0000 (+0000) Subject: Fix typo in except clause (_db should be _bsddb). X-Git-Tag: v2.3c1~3160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d366b1418dfc980ead4b13526703aa2ee5e10e7;p=thirdparty%2FPython%2Fcpython.git Fix typo in except clause (_db should be _bsddb). --- diff --git a/Lib/bsddb/dbutils.py b/Lib/bsddb/dbutils.py index 1a8bc7891ae8..81b6d8ae1708 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)