[Checkins] SVN: Products.PythonScripts/trunk/ Correct module security declaration for our `standard` module.
Hano Schlichting
cvs-admin at zope.org
Sun Sep 9 11:10:58 UTC 2012
Log message for revision 127786:
Correct module security declaration for our `standard` module.
The current module isn't automatically guessed from the current execution context.
Changed:
U Products.PythonScripts/trunk/CHANGES.txt
U Products.PythonScripts/trunk/src/Products/PythonScripts/standard.py
-=-
Modified: Products.PythonScripts/trunk/CHANGES.txt
===================================================================
--- Products.PythonScripts/trunk/CHANGES.txt 2012-09-09 10:42:37 UTC (rev 127785)
+++ Products.PythonScripts/trunk/CHANGES.txt 2012-09-09 11:10:55 UTC (rev 127786)
@@ -4,6 +4,7 @@
2.13.2 (unreleased)
-------------------
+- Correct module security declaration for our `standard` module.
2.13.1 (2012-09-09)
-------------------
Modified: Products.PythonScripts/trunk/src/Products/PythonScripts/standard.py
===================================================================
--- Products.PythonScripts/trunk/src/Products/PythonScripts/standard.py 2012-09-09 10:42:37 UTC (rev 127785)
+++ Products.PythonScripts/trunk/src/Products/PythonScripts/standard.py 2012-09-09 11:10:55 UTC (rev 127786)
@@ -40,7 +40,7 @@
from DocumentTemplate.security import RestrictedDTML
from ZPublisher.HTTPRequest import record
-security = ModuleSecurityInfo()
+security = ModuleSecurityInfo('Products.PythonScripts.standard')
security.declarePublic('special_formats',
'whole_dollars',
More information about the checkins
mailing list