Remove useless nested tuples

This commit is contained in:
Guillaume Ayoub 2016-09-02 11:05:35 +02:00
parent 68e1e9dfb2
commit 88d558f9fa

View File

@ -271,7 +271,7 @@ class Application:
def __call__(self, environ, start_response): def __call__(self, environ, start_response):
"""Manage a request.""" """Manage a request."""
def response(status, headers=(()), answer=None): def response(status, headers=(), answer=None):
headers = dict(headers) headers = dict(headers)
# Set content length # Set content length
if answer: if answer: