418
420
# might end up with multiple instances of the same top value
419
421
# and pageid. Here we store all those OOPSes in a list but
420
422
# self.render* methods display only the first one.
421
425
if self.top_errors and self.top_errors[-1][2] == pageid:
422
426
assert self.top_errors[-1][0] == value, 'programmer error'
423
427
self.top_errors[-1][1].append(oopsid)