gallery.py: Fix 'stream' -> 'output' typo in serve_scgi
authorW. Trevor King <wking@tremily.us>
Mon, 9 Dec 2013 03:41:33 +0000 (19:41 -0800)
committerW. Trevor King <wking@tremily.us>
Mon, 9 Dec 2013 03:41:33 +0000 (19:41 -0800)
This only gets hit for invalid URLs.

posts/gallery/gallery.py

index 1dece358033acb2b57f2491410c6dbf7188ab2bd..9a33baf162725ad9362ac85b52f543198fa85f2b 100755 (executable)
@@ -723,7 +723,7 @@ def serve_scgi(server, host='localhost', port=4000):
                     url = server.relative_url(url=url)
                 except HTTPError as e:
                     LOG.error(e.message)
-                    server._error(e.status, content=e.content, stream=stream)
+                    server._error(e.status, content=e.content, stream=output)
             except ProcessingComplete:
                 pass
             else: