def fetchone(self):
        try:
            return self.result_iter.next()
        except __HOLE__:
            return None
        except TaskletExit:
            raise
        except Exception, e:
            raise self._wrap_exception(e, "an error occurred while fetching results")
dataset/ETHPy150Open concurrence/concurrence/lib/concurrence/database/mysql/dbapi.py/Cursor.fetchone