Mercurial > hg > wsgintegrate
comparison wsgintegrate/dispatcher.py @ 11:88b611ed2c5e
debugging code
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 14 Jul 2011 00:05:39 -0700 |
parents | ec815b7cb142 |
children | e07b0f675c17 |
comparison
equal
deleted
inserted
replaced
10:67cc627cbea7 | 11:88b611ed2c5e |
---|---|
19 if response.status_int in self.codes: | 19 if response.status_int in self.codes: |
20 continue | 20 continue |
21 break | 21 break |
22 except exc.HTTPNotFound: | 22 except exc.HTTPNotFound: |
23 continue | 23 continue |
24 except: | |
25 print app | |
26 raise | |
24 else: | 27 else: |
25 response = exc.HTTPNotFound() | 28 response = exc.HTTPNotFound() |
26 return response(environ, start_response) | 29 return response(environ, start_response) |