comparison roundup/cgi/exceptions.py @ 2278:93bd8c4d43ef

in HTML produced by SeriousError.__str__(): remove misleading 'http-equiv' meta; change stylesheet link from '_file/' to '@@file/' for consistency with classic templates.
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Tue, 11 May 2004 13:03:07 +0000
parents 3fd672293712
children df4a3355ee8f
comparison
equal deleted inserted replaced
2277:c9e52addda42 2278:93bd8c4d43ef
1 #$Id: exceptions.py,v 1.4 2004-03-26 00:44:11 richard Exp $ 1 #$Id: exceptions.py,v 1.5 2004-05-11 13:03:07 a1s Exp $
2 '''Exceptions for use in Roundup's web interface. 2 '''Exceptions for use in Roundup's web interface.
3 ''' 3 '''
4 4
5 __docformat__ = 'restructuredtext' 5 __docformat__ = 'restructuredtext'
6 6
47 escaped. 47 escaped.
48 """ 48 """
49 def __str__(self): 49 def __str__(self):
50 return ''' 50 return '''
51 <html><head><title>Roundup issue tracker: An error has occurred</title> 51 <html><head><title>Roundup issue tracker: An error has occurred</title>
52 <meta http-equiv="Content-Type" content="text/html; charset=utf-8;"> 52 <link rel="stylesheet" type="text/css" href="@@file/style.css">
53 <link rel="stylesheet" type="text/css" href="_file/style.css">
54 </head> 53 </head>
55 <body class="body" marginwidth="0" marginheight="0"> 54 <body class="body" marginwidth="0" marginheight="0">
56 <p class="error-message">%s</p> 55 <p class="error-message">%s</p>
57 </body></html> 56 </body></html>
58 '''%cgi.escape(self.args[0]) 57 '''%cgi.escape(self.args[0])

Roundup Issue Tracker: http://roundup-tracker.org/