Mercurial > p > roundup > code
changeset 2565:89c5e8564dad
passs the message translator to cgitb functions
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Tue, 13 Jul 2004 10:19:13 +0000 |
| parents | 7500a9bb8bf9 |
| children | dd2b9f5a104c |
| files | roundup/cgi/client.py |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/cgi/client.py Tue Jul 13 10:18:00 2004 +0000 +++ b/roundup/cgi/client.py Tue Jul 13 10:19:13 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.182 2004-07-11 14:23:12 a1s Exp $ +# $Id: client.py,v 1.183 2004-07-13 10:19:13 a1s Exp $ """WWW request handler (also used in the stand-alone server). """ @@ -276,7 +276,7 @@ self.write_html(self.renderContext()) except: # everything else - self.write_html(cgitb.html()) + self.write_html(cgitb.html(i18n=self.translator)) def clean_sessions(self): """Age sessions, remove when they haven't been used for a week. @@ -621,7 +621,7 @@ raise Unauthorised, str(message) except: # everything else - return cgitb.pt_html() + return cgitb.pt_html(i18n=self.translator) # these are the actions that are available actions = (
