Commit 81f558fc authored by Yoshinori Okuji's avatar Yoshinori Okuji

Allow pformat and pprint in pprint to be used in restricted environment.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31352 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ab004fc4
...@@ -128,3 +128,4 @@ allow_module('Products.ERP5Type.JSONEncoder') ...@@ -128,3 +128,4 @@ allow_module('Products.ERP5Type.JSONEncoder')
allow_module('Products.ERP5Type.Log') allow_module('Products.ERP5Type.Log')
allow_module('Products.ERP5Type.ConnectionPlugin.SOAPWSDLConnection') allow_module('Products.ERP5Type.ConnectionPlugin.SOAPWSDLConnection')
ModuleSecurityInfo('Products.ERP5Type.JSON').declarePublic('dumps', 'loads') ModuleSecurityInfo('Products.ERP5Type.JSON').declarePublic('dumps', 'loads')
ModuleSecurityInfo('pprint').declarePublic('pformat', 'pprint')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment