From 5dfadc928ff93003eb8aabc0b6118662e9ce477f Mon Sep 17 00:00:00 2001 From: klm Date: Tue, 7 Apr 1998 04:17:20 +0000 Subject: Disabled encompassing try-except in HTMLFormatObject, so tracebacks show through, instead of silently failing to show the intended objects. Something in between might be better, where the failing rendition is replaced by a placehold that indicates what failed, but doesn't disrupt the entire computation. However, until that is resolved, the bugs will show, instead of hiding in the cupboards... --- Mailman/htmlformat.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Mailman/htmlformat.py') diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index ce1abba06..a06d907d6 100644 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -8,15 +8,15 @@ import string, types # Format an arbitrary object. def HTMLFormatObject(item, indent): - try: +## try: if type(item) == type(''): return item if type(item) == type(2): return `item` return item.Format(indent) - except: - return `item` +## except: +## return `item` def CaseInsensitiveKeyedDict(d): @@ -154,8 +154,8 @@ class Table: output = output + self.ExtractRowInfo(my_info) output = output + '>' - for i in range(len(self.cells[row])): - output = output + self.FormatCell(row, i, indent + 2) + for i in range(len(self.cells[row])): + output = output + self.FormatCell(row, i, indent + 2) output = output + '\n' + ' '*indent + '' -- cgit v1.2.3-70-g09d2