From 38b12fd79b4f2c70af3a7d3e61f5b1295931b5d3 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 13 Oct 2010 12:02:45 +0000 Subject: [PATCH] allow OrderedDict in the restricted environment. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39096 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/__init__.py b/product/ERP5Type/__init__.py index adb55aa35c..e3b6b56fab 100644 --- a/product/ERP5Type/__init__.py +++ b/product/ERP5Type/__init__.py @@ -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): -- 2.30.9