Skip to content

Commit

Permalink
Drop deprecated formatter module from globalmodules.zcml
Browse files Browse the repository at this point in the history
Fixes #3.
  • Loading branch information
mgedmin committed Jul 11, 2019
1 parent 2313b39 commit 1c37009
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ CHANGES

- Drop support for Python 3.4.

- Drop security declarations for the deprecated ``formatter`` standard library
module from globalmodules.zcml.

Note that globalmodules.zcml should be avoided. It's better to make
declarations for only what you actually need to use.


4.0.0 (2017-04-27)
------------------
Expand Down
5 changes: 0 additions & 5 deletions src/zope/app/security/globalmodules.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,6 @@

<!-- 12. Internet Data Handling -->

<module module="formatter">
<allow attributes="AS_IS AbstractFormatter AbstractWriter DumbWriter
NullFormatter NullWriter" />
</module>

<module module="email">
<allow attributes="message_from_file message_from_string" />
</module>
Expand Down

0 comments on commit 1c37009

Please sign in to comment.