Roundup Tracker - Issues

Message5104

Author ThomasAH
Recipients ThomasAH
Date 2014-05-26.14:21:00
Message-id <1401114062.06.0.311186442975.issue2550843@psf.upfronthosting.co.za>
In-reply-to
changeset:   4898:850551a1568b
tag:         tip
user:        Thomas Arendsen Hein <thomas@intevation.de>
date:        Mon May 26 16:14:07 2014 +0200
files:       CHANGES.txt roundup/cgi/client.py
description:
Fix issue2550843 (AttributeError: 'Unauthorised' object has no attribute
'replace')

Pass text of Unauthorised and Login exceptions instead of the exception
instance to avoid traceback with string operations.

str() is used in most other places where the exception error message text is
needed. So far only roundup.cgi.actions.LoginAction.handle() iterates
over the
exception args. Probably not needed here, so I decided to keep the code
simple.
History
Date User Action Args
2014-05-26 14:21:02ThomasAHsetmessageid: <1401114062.06.0.311186442975.issue2550843@psf.upfronthosting.co.za>
2014-05-26 14:21:02ThomasAHsetrecipients: + ThomasAH
2014-05-26 14:21:01ThomasAHlinkissue2550843 messages
2014-05-26 14:21:00ThomasAHcreate