Skip to content

Commit

Permalink
Queue additional warning filters at the beginning of the queue in ord…
Browse files Browse the repository at this point in the history
…er to allow overrides.
  • Loading branch information
jensens committed Feb 17, 2015
1 parent 246610d commit cbb81d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Expand Up @@ -11,6 +11,9 @@ http://docs.zope.org/zope2/
Bugs Fixed
++++++++++

- Queue additional warning filters at the beginning of the queue in order to
allow overrides.

- Issue #16: prevent leaked connections when broken ``EndRequestEvent``
subscribers raise exceptions.

Expand Down
2 changes: 1 addition & 1 deletion src/Zope2/Startup/warnfilter.py
Expand Up @@ -51,5 +51,5 @@ def warning_filter_handler(section):
import warnings
# add the warning filter
warnings.filterwarnings(section.action, section.message, section.category,
section.module, section.lineno, 1)
section.module, section.lineno)
return section

0 comments on commit cbb81d7

Please sign in to comment.