The Doctor What wrote:
--- /tmp/ZPublisher.orig/HTTPResponse.py Mon Feb 12 12:53:20 2001 +++ HTTPResponse.py Wed Apr 18 10:29:36 2001 @@ -471,9 +471,11 @@ tb=self.format_exception(t,v,tb,200) tb=join(tb,'\n') tb=self.quoteHTML(tb) - if self.debug_mode: _tbopen, _tbclose = '<PRE>', '</PRE>' - else: _tbopen, _tbclose = '<!--', '-->' - return "\n%s\n%s\n%s" % (_tbopen, tb, _tbclose) + if self.debug_mode: + _tbopen, _tbclose = '<PRE>', '</PRE>' + return "\n%s\n%s\n%s" % (_tbopen, tb, _tbclose) + else: + return "\n"
Cool, I've stuck this in the collector. Let's pray this one doesn't get ignored as well (I'd really like to see someone argue why its a bad idea!) cheers, Chris