From 995a0a8acb636718b03fdd1f2984c40a5fa2b00c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 29 Apr 2014 17:05:06 +0200
Subject: [PATCH] ERP5Type.Utils: returns an imutable copy of
 pytz.common_timezones

This also fixes the problem that in recent pytz common_timezones is a LazyList that does not work in restricted python
---
 product/ERP5Type/Utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index d246aa5a5d..e559139195 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -1387,8 +1387,8 @@ def getCommonTimeZoneList():
   try:
     from pytz import common_timezones
   except ImportError:
-    return []
-  return common_timezones
+    return ()
+  return tuple(common_timezones)
 
 
 #####################################################
-- 
2.30.9