Skip to content
Snippets Groups Projects
Commit 77a12278 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Fix broken ref to IntegrityError

parent 7ab2b69e
No related branches found
No related tags found
No related merge requests found
......@@ -503,7 +503,7 @@ class SQLBaseStore(object):
lock=lock
)
defer.returnValue(result)
except self.database_engine.IntegrityError as e:
except self.database_engine.module.IntegrityError as e:
# presumably we raced with another transaction: let's retry.
logger.warn(
"IntegrityError when upserting into %s; retrying: %s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment