Mercurial > p > roundup > code
comparison roundup/cgi/client.py @ 3900:182ba3207899
wrap comment to less than 75 chars
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Wed, 12 Sep 2007 16:16:49 +0000 |
| parents | dd00c917fc40 |
| children | 57ad3e2c2545 |
comparison
equal
deleted
inserted
replaced
| 3899:e02cf6f9ae74 | 3900:182ba3207899 |
|---|---|
| 1 # $Id: client.py,v 1.236 2007-09-12 01:15:07 jpend Exp $ | 1 # $Id: client.py,v 1.237 2007-09-12 16:16:49 jpend Exp $ |
| 2 | 2 |
| 3 """WWW request handler (also used in the stand-alone server). | 3 """WWW request handler (also used in the stand-alone server). |
| 4 """ | 4 """ |
| 5 __docformat__ = 'restructuredtext' | 5 __docformat__ = 'restructuredtext' |
| 6 | 6 |
| 288 | 288 |
| 289 # render the content | 289 # render the content |
| 290 try: | 290 try: |
| 291 self.write_html(self.renderContext()) | 291 self.write_html(self.renderContext()) |
| 292 except IOError: | 292 except IOError: |
| 293 # IOErrors here are due to the client disconnecting before recieving the reply. | 293 # IOErrors here are due to the client disconnecting before |
| 294 # recieving the reply. | |
| 294 pass | 295 pass |
| 295 | 296 |
| 296 except SeriousError, message: | 297 except SeriousError, message: |
| 297 self.write_html(str(message)) | 298 self.write_html(str(message)) |
| 298 except Redirect, url: | 299 except Redirect, url: |
