Commit ac080e89 authored by Jim Fulton's avatar Jim Fulton

spelling

parent 3681a34d
......@@ -146,7 +146,7 @@ class TransactionManager(object):
if number:
attempt = Attempt(self)
yield attempt
if attempt.sucess:
if attempt.success:
break
else:
yield self
......@@ -170,7 +170,7 @@ class ThreadTransactionManager(TransactionManager, threading.local):
class Attempt(object):
sucess = False
success = False
def __init__(self, manager):
self.manager = manager
......@@ -192,6 +192,6 @@ class Attempt(object):
except:
return self._retry_or_raise(*sys.exc_info())
else:
self.sucess = True
self.success = True
else:
return self._retry_or_raise(t, v, tb)
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