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

« back to all changes in this revision

Viewing changes to ivle/dispatch/__init__.py

  • Committer: Matt Giuca
  • Date: 2010-03-05 07:17:17 UTC
  • Revision ID: matt.giuca@gmail.com-20100305071717-ed0zkkcqkpyrsn5m
Added to Subversion help: guide to external svn access. Link to this help from the user settings page.

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