~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/ec2/exception.py

  • Committer: Duncan McGreggor
  • Date: 2009-11-13 23:56:18 UTC
  • Revision ID: duncan@canonical.com-20091113235618-vnve62r5hnpacnlg
Fixed self debugging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
            status = int(self.status)
94
94
        else:
95
95
            status = 400
96
 
        if self.status >= 500:
 
96
        if status >= 500:
97
97
            self._set_500_error(tree)
98
98
        else:
99
99
            self._set_400_errors(tree)