Changes between Initial Version and Version 1 of Ticket #11461, comment 20


Ignore:
Timestamp:
Jan 2, 2014, 12:35:06 AM (10 years ago)
Author:
falkb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11461, comment 20

    initial v1  
    221. s/Event/even
    332. plus {{{ from trac.db import with_transaction }}} in the first snippet
     43. 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   }}}