def closeCursor ( self, cursor ):
    """Close the cursor if we are not in a transaction"""

    if self.cursor is None:
      cursor.close()
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.closeCursor/original