def execute_in_connection(self, sqlseq, conn):
        cursor = conn.cursor()
        for sql in sqlseq:
            try:
                cursor.execute(sql)
            except cx_Oracle.DatabaseError, ex:
                raise Exception("%s: %s" % (ex, sql))
        cursor.close()
dataset/ETHPy150Open marineam/nagcat/python/nagcat/unittests/queries/test_oracle.py/OracleBase.execute_in_connection/original