Pass stream into ._error() calls in gallery.py.
authorW. Trevor King <wking@tremily.us>
Sun, 12 Aug 2012 22:53:00 +0000 (18:53 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 12 Aug 2012 22:53:00 +0000 (18:53 -0400)
commit6506f908b65778cb17ef200560c2873babeb48b6
tree54e301bc0aec4df7cbe7f1043bc1ec8882f5bdad
parent01d8608a990bff188fadfff9504a4952c26cd369
Pass stream into ._error() calls in gallery.py.

Avoids 502 errors when ._response() tries to .write() when stream is
None.
posts/gallery/gallery.py