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

« back to all changes in this revision

Viewing changes to ivle/cgirequest.py

  • Committer: William Grant
  • Date: 2009-07-30 08:50:35 UTC
  • mfrom: (1297 ivle)
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090730085035-np5s9ghrgymmya8b
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
            return sys.stdin.read(len)
242
242
 
243
243
    def handle_unknown_exception(self, exc_type, exc_value, exc_tb):
 
244
        if exc_type is ivle.util.IVLEError:
 
245
            self.headers_out['X-IVLE-Error-Code'] = exc_value.httpcode
 
246
 
244
247
        self.headers_out['X-IVLE-Error-Type'] = exc_type.__name__
245
248
 
246
249
        try: