Mercurial > p > roundup > code
diff CHANGES.txt @ 4898:850551a1568b
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.
| author | Thomas Arendsen Hein <thomas@intevation.de> |
|---|---|
| date | Mon, 26 May 2014 16:14:07 +0200 |
| parents | 5dbeea79a3db |
| children | 349a83aca61f |
line wrap: on
line diff
--- a/CHANGES.txt Mon May 12 14:40:53 2014 +1000 +++ b/CHANGES.txt Mon May 26 16:14:07 2014 +0200 @@ -96,6 +96,9 @@ - Apply german translation fixes from Debian team in issue2550761, thanks to Kai Storbeck for taking the time to report these. (Ralf Schlatterbeck) +- Fix issue2550843 Pass text of Unauthorised and Login exceptions instead + of the exception instance to avoid traceback with string operations. + (Thomas Arendsen Hein) Minor: - demo.py usage message improved: explains "nuke" now. (Bernhard Reiter)
