def getCursor ( self ):

    if self.cursor is None:
      return self.conn.cursor()
    else:
      return self.cursor
Gets list of block devices
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.getCursor--crossover with--dataset/ETHPy150Open openstack/bareon/bareon/utils/hardware.py/list_block_devices