comparison roundup/cgi/exceptions.py @ 2129:3fd672293712

add and use Reject exception [SF#700265]
author Richard Jones <richard@users.sourceforge.net>
date Fri, 26 Mar 2004 00:44:11 +0000
parents f6d7ccce8d96
children 93bd8c4d43ef
comparison
equal deleted inserted replaced
2128:a6588f4b841a 2129:3fd672293712
1 #$Id: exceptions.py,v 1.4 2004-03-26 00:44:11 richard Exp $
2 '''Exceptions for use in Roundup's web interface.
3 '''
4
5 __docformat__ = 'restructuredtext'
6
1 import cgi 7 import cgi
2 8
3 class HTTPException(Exception): 9 class HTTPException(Exception):
4 pass 10 pass
5 11
49 <body class="body" marginwidth="0" marginheight="0"> 55 <body class="body" marginwidth="0" marginheight="0">
50 <p class="error-message">%s</p> 56 <p class="error-message">%s</p>
51 </body></html> 57 </body></html>
52 '''%cgi.escape(self.args[0]) 58 '''%cgi.escape(self.args[0])
53 59
60 # vim: set filetype=python ts=4 sw=4 et si

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