commit/galaxy-central: james_taylor: error middleware: return writable from start_response correctly
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d7f4d3a8d0b2/ changeset: d7f4d3a8d0b2 user: james_taylor date: 2013-02-04 06:09:23 summary: error middleware: return writable from start_response correctly affected #: 1 file diff -r 0c1b71a50ccb5b6f5aff233b40355d84141960c6 -r d7f4d3a8d0b273163ae3d04872e211b7dcfbeba9 lib/galaxy/web/framework/middleware/error.py --- a/lib/galaxy/web/framework/middleware/error.py +++ b/lib/galaxy/web/framework/middleware/error.py @@ -200,7 +200,9 @@ def __call__(self, *args): self.response_started = True - self.start_response(*args) + # Return whatever the wrapped start_response would have + # returned + return self.start_response(*args) class CatchingIter(object): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket