Clear all reset cache in the Cache commit loop

The correct indentation was lost in review68431002 after an update to tip.

issue8027
This commit is contained in:
Cédric Krier committed 2019-03-10 19:37:03 +01:00
1 parent b76e85be2e
commit cbd72f3003
1 file changed
+6 -6
+6 -6
View File
@@ -207,13 +207,13 @@ class MemoryCache(BaseCache):
where=table.name == name))
timestamp, = cursor.fetchone()
cursor.execute(*table.select(
_cast(Max(table.timestamp)),
where=table.name == name))
timestamp, = cursor.fetchone()
cursor.execute(*table.select(
_cast(Max(table.timestamp)),
where=table.name == name))
timestamp, = cursor.fetchone()
inst = cls._instances[name]
inst._clear(dbname, timestamp)
inst = cls._instances[name]
inst._clear(dbname, timestamp)
reset.clear()
@classmethod