Comment 2 for bug 1257530

Revision history for this message
Al Bailey (albailey1974) wrote :

In my environment I was able to eliminate those deprecation warnings by replacing:
m = _DUP_KEY_RE_DB[engine_name].match(integrity_error.message)
with this:
m = _DUP_KEY_RE_DB[engine_name].match(integrity_error.args[0])