Kaydet (Commit) 0d366b14 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix typo in except clause (_db should be _bsddb).

üst 62d45c0a
...@@ -58,7 +58,7 @@ def DeadlockWrap(function, *_args, **_kwargs): ...@@ -58,7 +58,7 @@ def DeadlockWrap(function, *_args, **_kwargs):
while 1: while 1:
try: try:
return apply(function, _args, _kwargs) return apply(function, _args, _kwargs)
except _db.DBLockDeadlockError: except _bsddb.DBLockDeadlockError:
if _deadlock_VerboseFile: if _deadlock_VerboseFile:
_deadlock_VerboseFile.write('dbutils.DeadlockWrap: sleeping %1.3f\n' % sleeptime) _deadlock_VerboseFile.write('dbutils.DeadlockWrap: sleeping %1.3f\n' % sleeptime)
_sleep(sleeptime) _sleep(sleeptime)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment