SVN: Zope/trunk/ Forward-port r127839 from the 2.12 branch.
Tres Seaver <[email protected]> Thu, 13 Sep 2012 13:53:15 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cvs |
|---|---|
| Message-ID | <20120913175315.A95DF7083BC__26322.7080730305$1347558802$gmane$org@cvs.zope.org> |
Log message for revision 127842:
Forward-port r127839 from the 2.12 branch.
Changed:
_U Zope/trunk/
U Zope/trunk/src/ZTUtils/__init__.py
-=-
Modified: Zope/trunk/src/ZTUtils/__init__.py
===================================================================
--- Zope/trunk/src/ZTUtils/__init__.py 2012-09-13 17:52:40 UTC (rev 127841)
+++ Zope/trunk/src/ZTUtils/__init__.py 2012-09-13 17:53:12 UTC (rev 127842)
@@ -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
-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
_______________________________________________
Zope-Checkins maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins