From da7f63f12558a0ae6f578d04c8fcbb499b59aa42 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 10 Jan 2013 15:33:32 +0100 Subject: [PATCH] cx_Oracle.DatabaseError is an ancestor of cx_Oracle.InternalError --- plugins/dbms/oracle/connector.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/dbms/oracle/connector.py b/plugins/dbms/oracle/connector.py index 55c2dab00..5c4cd678f 100644 --- a/plugins/dbms/oracle/connector.py +++ b/plugins/dbms/oracle/connector.py @@ -64,10 +64,8 @@ class Connector(GenericConnector): try: self.cursor.execute(utf8encode(query)) retVal = True - except (cx_Oracle.DatabaseError), msg: + except cx_Oracle.DatabaseError, msg: logger.log(logging.WARN if conf.dbmsHandler else logging.DEBUG, "(remote) %s" % msg) - except cx_Oracle.InternalError, msg: - raise SqlmapConnectionException(msg) self.connector.commit()