summaryrefslogtreecommitdiff
path: root/modules/htmlformat.py
diff options
context:
space:
mode:
authorklm1998-04-07 04:17:20 +0000
committerklm1998-04-07 04:17:20 +0000
commit5dfadc928ff93003eb8aabc0b6118662e9ce477f (patch)
tree834a754d122f40e05fce06b81298ae97faaabd69 /modules/htmlformat.py
parent0f59e96975a5bb49797dbef246fa4aa7c0f89ffa (diff)
downloadmailman-5dfadc928ff93003eb8aabc0b6118662e9ce477f.tar.gz
mailman-5dfadc928ff93003eb8aabc0b6118662e9ce477f.tar.zst
mailman-5dfadc928ff93003eb8aabc0b6118662e9ce477f.zip
Diffstat (limited to 'modules/htmlformat.py')
-rw-r--r--modules/htmlformat.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/htmlformat.py b/modules/htmlformat.py
index ce1abba06..a06d907d6 100644
--- a/modules/htmlformat.py
+++ b/modules/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 + '</tr>'