Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
cbb81d74
Commit
cbb81d74
authored
Feb 17, 2015
by
Jens W. Klein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Queue additional warning filters at the beginning of the queue in order to allow overrides.
parent
246610dd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGES.rst
CHANGES.rst
+3
-0
src/Zope2/Startup/warnfilter.py
src/Zope2/Startup/warnfilter.py
+1
-1
No files found.
CHANGES.rst
View file @
cbb81d74
...
@@ -11,6 +11,9 @@ http://docs.zope.org/zope2/
...
@@ -11,6 +11,9 @@ http://docs.zope.org/zope2/
Bugs Fixed
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``
- Issue #16: prevent leaked connections when broken ``EndRequestEvent``
subscribers raise exceptions.
subscribers raise exceptions.
...
...
src/Zope2/Startup/warnfilter.py
View file @
cbb81d74
...
@@ -51,5 +51,5 @@ def warning_filter_handler(section):
...
@@ -51,5 +51,5 @@ def warning_filter_handler(section):
import
warnings
import
warnings
# add the warning filter
# add the warning filter
warnings
.
filterwarnings
(
section
.
action
,
section
.
message
,
section
.
category
,
warnings
.
filterwarnings
(
section
.
action
,
section
.
message
,
section
.
category
,
section
.
module
,
section
.
lineno
,
1
)
section
.
module
,
section
.
lineno
)
return
section
return
section
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment