[CMF-checkins] SVN: CMF/branches/1.5/CMFCore/utils.py Added transaction.get() to BBBTransaction.

Florent Guillaume fg at nuxeo.com
Fri Jul 29 05:56:48 EDT 2005


Log message for revision 37536:
  Added transaction.get() to BBBTransaction.
  

Changed:
  U   CMF/branches/1.5/CMFCore/utils.py

-=-
Modified: CMF/branches/1.5/CMFCore/utils.py
===================================================================
--- CMF/branches/1.5/CMFCore/utils.py	2005-07-28 22:37:32 UTC (rev 37535)
+++ CMF/branches/1.5/CMFCore/utils.py	2005-07-29 09:56:48 UTC (rev 37536)
@@ -730,4 +730,7 @@
     def abort(self, sub=False):
         get_transaction().abort(sub)
 
+    def get(self):
+        return get_transaction()
+
 transaction = BBBTransaction()



More information about the CMF-checkins mailing list