Sfoglia il codice sorgente

remove unnecessary call to iter()

Sasha Hart 12 anni fa
parent
commit
f8ae64c8fb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      wsgi/hello.py

+ 1 - 1
wsgi/hello.py

@@ -12,4 +12,4 @@ def app(environ, start_response):
         ('Content-Length', str(len(data)))
     ]
     start_response(status, response_headers)
-    return iter([data])
+    return [data]