Explorar el Código

Remove useless nested tuples

Guillaume Ayoub hace 9 años
padre
commit
88d558f9fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

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