@@ -9,15 +9,15 @@ except ImportError: import sys e = sys.modules['exceptions'] Exception = e.Exception Warning = e.Warning - + from constants import ER class MySQLError(Exception): - + """Exception related to operation with MySQL.""" class Warning(Warning, MySQLError): @@ -107,11 +107,11 @@ _map_error(NotSupportedError, ER.WARNING_NOT_COMPLETE_ROLLBACK, ER.NOT_SUPPORTED_YET, ER.FEATURE_DISABLED, ER.UNKNOWN_STORAGE_ENGINE) del _map_error, ER - + def _get_error_info(data): errno = struct.unpack('