[Zodb-checkins]
SVN: ZODB/branches/3.4/src/transaction/interfaces.py
Trim trailing whitespace.
Tim Peters
tim.one at comcast.net
Mon Apr 25 11:06:51 EDT 2005
Log message for revision 30162:
Trim trailing whitespace.
Changed:
U ZODB/branches/3.4/src/transaction/interfaces.py
-=-
Modified: ZODB/branches/3.4/src/transaction/interfaces.py
===================================================================
--- ZODB/branches/3.4/src/transaction/interfaces.py 2005-04-25 14:51:16 UTC (rev 30161)
+++ ZODB/branches/3.4/src/transaction/interfaces.py 2005-04-25 15:06:51 UTC (rev 30162)
@@ -24,7 +24,6 @@
Applications use transaction managers to establish transaction boundaries.
"""
-
def begin():
"""Begin a new transaction.
@@ -52,14 +51,12 @@
An ISavepoint object is returned.
"""
-
def registerSynch(synch):
"""Register an ISynchronizer.
Synchronizers are notified at the beginning and end of
transaction completion.
-
"""
def unregisterSynch(synch):
@@ -67,7 +64,6 @@
Synchronizers are notified at the beginning and end of
transaction completion.
-
"""
class ITransaction(zope.interface.Interface):
@@ -139,7 +135,6 @@
The datamanager must implement the
transactions.interfaces.IDataManager interface, and be
adaptable to ZODB.interfaces.IDataManager.
-
"""
def note(text):
@@ -325,14 +320,13 @@
"""Savepoint for data-manager changes for use in transaction savepoints
Datamanager savepoints are used by, and only by, transaction savepoints.
-
+
Note that data manager savepoints don't have any notion of or
responsibility for validity. It isn't the responsibility of
data-manager savepoints to prevent multiple rollbacks or rollbacks
after transaction termination. Preventing invalid savepoint
rollback is the responsibility of transaction rollbacks.
Application code should never use data-manager savepoints.
-
"""
def rollback():
@@ -348,7 +342,7 @@
An InvalidSavepointRollbackError is raised if the savepoint
isn't valid.
-
+
"""
valid = zope.interface.Attribute(
@@ -375,4 +369,3 @@
def afterCompletion(transaction):
"""Hook that is called by the transaction after completing a commit.
"""
-
More information about the Zodb-checkins
mailing list