Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError in LintMiddleware #1116

Merged
merged 3 commits into from May 5, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -20,6 +20,7 @@ yet to be released
4093 bytes. Browsers may silently ignore cookies larger than this.
``BaseResponse`` has a new attribute ``max_cookie_size`` and ``dump_cookie``
has a new argument ``max_size`` to configure this. (`#780`_, `#1109`_)
- Fix a TypeError in ``werkzueg.contrib.lint.GuardedIterator.close``.

This comment has been minimized.

Copy link
@untitaker

untitaker May 5, 2017

Member

Please fix this typo: werkzueg/werkzeug

This comment has been minimized.

Copy link
@RonRothman

RonRothman May 5, 2017

Author Contributor

Whoops--fixed. Thanks.


.. _`#780`: https://github.com/pallets/werkzeug/pull/780
.. _`#1109`: https://github.com/pallets/werkzeug/pull/1109
@@ -172,7 +172,7 @@ def close(self):
elif 100 <= status_code < 200 or status_code == 204:
if content_length != 0:
warn(HTTPWarning('%r responses must have an empty '
'content length') % status_code)
'content length' % status_code))
if bytes_sent:
warn(HTTPWarning('%r responses must not have a body' %
status_code))
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.