From c4f9f1a5a74a82392fff77f203d1e66e93e5cbc8 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 15 Dec 2014 14:14:27 +0100 Subject: [PATCH] ERP5Type.patches.Restricted: Allow importing "unicodedata" module. --- product/ERP5Type/patches/Restricted.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/patches/Restricted.py b/product/ERP5Type/patches/Restricted.py index e26b1fb398..12dfee9af7 100644 --- a/product/ERP5Type/patches/Restricted.py +++ b/product/ERP5Type/patches/Restricted.py @@ -199,6 +199,7 @@ import hashlib # for md5 and sha1/224/256/384/512) allow_type(type(hashlib.md5())) allow_module('time') +allow_module('unicodedata') allow_module('urlparse') allow_module('struct') -- 2.30.9