[Zope] Re: Patch to let Authorized Exceptions use standard_error_message

Andy McKay andym@ActiveState.com
Fri, 22 Sep 2000 09:58:18 -0700


Well theres the thing, its not really a patch. I doesnt allow Authorized
Exceptions to use standard_error_message, thats a whole different kettle of
fish.

/lib/python/ZPublishers/HTTPResponse.py line 482 to 523 contains HTML text
for the error message. So you can rewrite that. Thats all I have done.

----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Andy McKay" <andym@activestate.com>
Cc: "William JOYE" <wjoye@phase.be>; <zope@zope.org>; "Tom Deprez"
<tom.deprez@uz.kuleuven.ac.be>
Sent: Friday, September 22, 2000 1:26 AM
Subject: Patch to let Authorized Exceptions use standard_error_message


> Andy McKay wrote:
> > Chris - you correct the comment says something about this could use
> > standard_error_message.... I did a quick hack of changing the source for
> > that file so it looks pretty (of course its totally static). Works for
me.
>
> Well can you please, please, please put it in the Collector as a 'bug
> with Patch' so everyone else can benefit. :-)
>
> ...or at the very least post the patch to the list...
>
> cheers,
>
> Chris
>