[Checkins] SVN: transaction/branches/sphinx/ ws

Tres Seaver cvs-admin at zope.org
Tue Dec 18 05:25:05 UTC 2012


Log message for revision 128747:
  ws

Changed:
  _U  transaction/branches/sphinx/
  U   transaction/branches/sphinx/transaction/_transaction.py

-=-
Modified: transaction/branches/sphinx/transaction/_transaction.py
===================================================================
--- transaction/branches/sphinx/transaction/_transaction.py	2012-12-18 05:25:03 UTC (rev 128746)
+++ transaction/branches/sphinx/transaction/_transaction.py	2012-12-18 05:25:04 UTC (rev 128747)
@@ -490,6 +490,7 @@
 
 # TODO: We need a better name for the adapters.
 
+
 class MultiObjectResourceAdapter(object):
     """Adapt the old-style register() call to the new-style join().
 
@@ -497,7 +498,6 @@
     the transaction manager.  With register(), an individual object
     is passed to register().
     """
-
     def __init__(self, jar):
         self.manager = jar
         self.objects = []
@@ -548,6 +548,7 @@
         finally:
             del t, v, tb
 
+
 def rm_key(rm):
     func = getattr(rm, 'sortKey', None)
     if func is not None:
@@ -581,6 +582,7 @@
     else:
         return repr(oid)
 
+
 # TODO: deprecate for 3.6.
 class DataManagerAdapter(object):
     """Adapt zodb 4-style data managers to zodb3 style
@@ -624,6 +626,7 @@
     def sortKey(self):
         return self._datamanager.sortKey()
 
+
 @implementer(interfaces.ISavepoint)
 class Savepoint:
     """Transaction savepoint.
@@ -666,6 +669,7 @@
             # Mark the transaction as failed.
             transaction._saveAndRaiseCommitishError() # reraises!
 
+
 class AbortSavepoint:
 
     def __init__(self, datamanager, transaction):
@@ -676,6 +680,7 @@
         self.datamanager.abort(self.transaction)
         self.transaction._unjoin(self.datamanager)
 
+
 class NoRollbackSavepoint:
 
     def __init__(self, datamanager):



More information about the checkins mailing list