fixes, updates, patches

This commit is contained in:
Miroslav Stampar
2012-02-09 10:16:58 +00:00
parent 948cf25de4
commit 7bca926a0b
10 changed files with 20 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ class Connector(GenericConnector):
self.cursor.execute(query)
retVal = True
except (psycopg2.OperationalError, psycopg2.ProgrammingError), msg:
logger.warn(msg)
logger.warn(("(remote) %s" % msg).strip())
except psycopg2.InternalError, msg:
raise sqlmapConnectionException, msg