aes new raise compliant

This commit is contained in:
mdipierro
2012-10-23 09:44:34 -05:00
parent 5a63fddf02
commit ea6714e89b
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -1670,8 +1670,8 @@ class WSGIWorker(Worker):
peercert = conn.socket.getpeercert(binary_form=True)
environ['SSL_CLIENT_RAW_CERT'] = \
peercert and ssl.DER_cert_to_PEM_cert(peercert)
except Exception, e:
print e
except Exception:
print sys.exc_info()[1]
if environ.get('HTTP_TRANSFER_ENCODING', '') == 'chunked':
environ['wsgi.input'] = ChunkedReader(sock_file)