Fix broken ref to IntegrityError
parent
7ab2b69e18
commit
77a1227870
|
@ -503,7 +503,7 @@ class SQLBaseStore(object):
|
||||||
lock=lock
|
lock=lock
|
||||||
)
|
)
|
||||||
defer.returnValue(result)
|
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.
|
# presumably we raced with another transaction: let's retry.
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"IntegrityError when upserting into %s; retrying: %s",
|
"IntegrityError when upserting into %s; retrying: %s",
|
||||||
|
|
Loading…
Reference in New Issue