Commit 38b12fd7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

allow OrderedDict in the restricted environment.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39096 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 439dfeca
......@@ -155,6 +155,7 @@ allow_module('Products.ERP5Type.JSONEncoder')
allow_module('Products.ERP5Type.Log')
ModuleSecurityInfo('Products.ERP5Type.JSON').declarePublic('dumps', 'loads')
ModuleSecurityInfo('Products.ERP5Type.Constraint').declarePublic('PropertyTypeValidity')
ModuleSecurityInfo('Products.ERP5Type.collections').declarePublic('OrderedDict')
ModuleSecurityInfo('pprint').declarePublic('pformat', 'pprint')
if sys.version_info[0:2] == (2, 4):
......
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