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
8d7ecbcb
Commit
8d7ecbcb
authored
Sep 13, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forward-port r127839 from the 2.12 branch.
parent
51b48149
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/ZTUtils/__init__.py
src/ZTUtils/__init__.py
+6
-3
No files found.
doc/CHANGES.rst
View file @
8d7ecbcb
...
...
@@ -8,6 +8,8 @@ http://docs.zope.org/zope2/releases/.
2.13.18 (unreleased)
--------------------
- Explicitly declared ZTUtils APIs as public (repairs breakages in apps
following fix for LP #1047318).
2.13.17 (2012-09-09)
--------------------
...
...
src/ZTUtils/__init__.py
View file @
8d7ecbcb
...
...
@@ -12,11 +12,14 @@
##############################################################################
"""Package of template utility classes and functions.
"""
from
AccessControl.SecurityInfo
import
ModuleSecurityInfo
security
=
ModuleSecurityInfo
(
'ZTUtils'
)
security
.
declarePublic
(
'encodeExpansion'
,
'decodeExpansion'
,
'a2b'
,
'b2a'
)
from
Tree
import
encodeExpansion
,
decodeExpansion
,
a2b
,
b2a
__allow_access_to_unprotected_subobjects__
=
1
__roles__
=
None
security
.
declarePublic
(
'Batch'
,
'TreeMaker'
,
'SimpleTreeMaker'
,
'LazyFilter'
)
from
ZTUtils.Zope
import
Batch
,
TreeMaker
,
SimpleTreeMaker
,
LazyFilter
security
.
declarePublic
(
'url_query'
,
'make_query'
,
'make_hidden_input'
)
from
ZTUtils.Zope
import
url_query
,
make_query
,
make_hidden_input
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