def closeCursorCommit ( self, cursor ):

    if self.cursor is None:
      self.conn.commit()
      cursor.close()
Close the cursor if we are not in a transaction
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.closeCursorCommit