[Checkins] SVN: zc.async/branches/satchit-1.5.1-annotate-transaction/src/zc/async/dispatcher.py annotate transaction with details about the job.

Satchidanand Haridas satchit at zope.com
Wed Mar 3 14:02:08 EST 2010


Log message for revision 109623:
  annotate transaction with details about the job.
  
  

Changed:
  U   zc.async/branches/satchit-1.5.1-annotate-transaction/src/zc/async/dispatcher.py

-=-
Modified: zc.async/branches/satchit-1.5.1-annotate-transaction/src/zc/async/dispatcher.py
===================================================================
--- zc.async/branches/satchit-1.5.1-annotate-transaction/src/zc/async/dispatcher.py	2010-03-03 19:01:21 UTC (rev 109622)
+++ zc.async/branches/satchit-1.5.1-annotate-transaction/src/zc/async/dispatcher.py	2010-03-03 19:02:08 UTC (rev 109623)
@@ -136,6 +136,7 @@
                                 else:
                                     job.fail() # moves the job off the agent
                                 try:
+                                    transaction.get().note(repr(job))
                                     transaction.commit()
                                 except (ZODB.POSException.TransactionError,
                                         ZODB.POSException.POSError):



More information about the checkins mailing list