~kevang/mnemosyne-proj/grade-shortcuts-improvements

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/databases/SQLite.py

  • Committer: Peter Bienstman
  • Date: 2013-10-29 20:52:36 UTC
  • Revision ID: peter.bienstman@ugent.be-20131029205236-jo5i8qzka49vv236
Code cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
 
264
264
        """
265
265
 
266
 
        print 'enter release', self._connection
267
266
        if self._connection:
268
267
            self._connection.commit()
269
268
            self._connection.close()
270
269
            self._connection = None
271
 
        print 'done release'
272
270
 
273
271
    def claim_connection(self):
274
272
        self.con