Skip to content

Commit 0ea98c7

Browse files
author
Alexander Smishlajev
committed
in HTML produced by SeriousError.__str__():
remove misleading 'http-equiv' meta; change stylesheet link from '_file/' to '@@file/' for consistency with classic templates.
1 parent b6ae98a commit 0ea98c7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

roundup/cgi/exceptions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 $
22
'''Exceptions for use in Roundup's web interface.
33
'''
44

@@ -49,8 +49,7 @@ class SeriousError(Exception):
4949
def __str__(self):
5050
return '''
5151
<html><head><title>Roundup issue tracker: An error has occurred</title>
52-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8;">
53-
<link rel="stylesheet" type="text/css" href="_file/style.css">
52+
<link rel="stylesheet" type="text/css" href="@@file/style.css">
5453
</head>
5554
<body class="body" marginwidth="0" marginheight="0">
5655
<p class="error-message">%s</p>

0 commit comments

Comments
 (0)