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

« back to all changes in this revision

Viewing changes to ivle/cgirequest.py

  • Committer: David Coles
  • Date: 2009-08-03 00:32:10 UTC
  • mto: (1294.2.119 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: coles.david@gmail.com-20090803003210-65k1ht95rkkkqujv
Fix Console breakage due to ConsoleView's class varibiles being overwritten by the parent class' init function.

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: