Replace nested try/finally try/except with try/except/finally.

This commit is contained in:
Florian Apolloner 2012-09-09 13:00:10 +02:00
parent 5e99a3d41b
commit 9ca17f883d
1 changed files with 11 additions and 12 deletions

View File

@ -222,7 +222,6 @@ class WSGIHandler(base.BaseHandler):
set_script_prefix(base.get_script_name(environ)) set_script_prefix(base.get_script_name(environ))
signals.request_started.send(sender=self.__class__) signals.request_started.send(sender=self.__class__)
try:
try: try:
request = self.request_class(environ) request = self.request_class(environ)
except UnicodeDecodeError: except UnicodeDecodeError: