Commit 2e772892 authored by Albertas Agejevas's avatar Albertas Agejevas

An unexpected raid by the Whitespace Police.

Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
parent b6f3d608
...@@ -18,7 +18,7 @@ class AbstractTransactionManager(object): ...@@ -18,7 +18,7 @@ class AbstractTransactionManager(object):
# XXX the methods below use assertions, but perhaps they should # XXX the methods below use assertions, but perhaps they should
# check errors. on the other hand, the transaction instances # check errors. on the other hand, the transaction instances
# do raise exceptions. # do raise exceptions.
def commit(self, txn): def commit(self, txn):
# commit calls _finishCommit() or abort() # commit calls _finishCommit() or abort()
assert txn._status is Status.ACTIVE assert txn._status is Status.ACTIVE
...@@ -112,7 +112,7 @@ class TransactionManager(AbstractTransactionManager): ...@@ -112,7 +112,7 @@ class TransactionManager(AbstractTransactionManager):
"transaction is active") "transaction is active")
self._suspended.remove(txn) self._suspended.remove(txn)
self._current = txn self._current = txn
class Rollback(object): class Rollback(object):
__implements__ = IRollback __implements__ = IRollback
......
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