~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/__init__.py

  • Committer: William Grant
  • Date: 2010-03-03 04:05:17 UTC
  • Revision ID: grantw@unimelb.edu.au-20100303040517-7grsyhj96ksqzi9e
Remove IVLEError support; only fileservice used it, and the last invocation is GONE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
    logfile = os.path.join(config['paths']['logs'], 'ivle_error.log')
228
228
    logfail = False
229
229
 
230
 
    # XXX: This remains here for ivle.interpret's IVLEErrors. Once we rewrite
231
 
    #      fileservice, req.status should always be 500 (ISE) here.
232
 
    try:
233
 
        httpcode = exc_value.httpcode
234
 
        req.status = httpcode
235
 
    except AttributeError:
236
 
        httpcode = None
237
 
        req.status = mod_python.apache.HTTP_INTERNAL_SERVER_ERROR
 
230
    req.status = mod_python.apache.HTTP_INTERNAL_SERVER_ERROR
238
231
 
239
232
    try:
240
233
        publicmode = req.publicmode