Changes between Initial Version and Version 1 of Ticket #11461, comment 20
- Timestamp:
- Jan 2, 2014, 12:35:06 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11461, comment 20
initial v1 2 2 1. s/Event/even 3 3 2. plus {{{ from trac.db import with_transaction }}} in the first snippet 4 3. this is {{{ __start_transaction() }}}: 5 {{{ 6 # DB Methods 7 def __start_transaction(self, db): 8 db = None 9 if VERSION < '0.12': 10 # deprecated in newer versions 11 db.commit() 12 db.close() 13 }}}