def getCursor ( self ):

    if self.cursor is None:
      return self.conn.cursor()
    else:
      return self.cursor
If we are in a transaction, return the cursor, otherwise make one
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.getCursor