mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix typo in except clause (_db should be _bsddb).
This commit is contained in:
parent
62d45c0af9
commit
0d366b1418
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue