From 42a075dfca57e9213955a1e7e2dda0b4473423dd Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 23 Jan 2013 11:43:17 +0100 Subject: [PATCH] Revert "Allow "random" module to be imported by restricted python." This reverts commit 991a64679d43344c2e6cbb871fbb944ba29e5776. Module is already allowed without this change. --- product/ERP5Type/patches/Restricted.py | 1 - 1 file changed, 1 deletion(-) diff --git a/product/ERP5Type/patches/Restricted.py b/product/ERP5Type/patches/Restricted.py index 0007cd54c8..95067096ee 100644 --- a/product/ERP5Type/patches/Restricted.py +++ b/product/ERP5Type/patches/Restricted.py @@ -177,7 +177,6 @@ allow_module('difflib') allow_module('hashlib') allow_module('time') allow_module('urlparse') -allow_module('random') ModuleSecurityInfo('os.path').declarePublic( # Allow functions accessing neither file system nor environment. -- 2.30.9