From 386fdbdcd03be1fe72c58639c3acb44d2b5b90cb Mon Sep 17 00:00:00 2001
From: Tatuya Kamada <tatuya@nexedi.com>
Date: Wed, 5 Aug 2009 09:43:23 +0000
Subject: [PATCH] 2009-08-05 tatuya * Fix 'Generate POT File' function when
 there is a PageTemplate which is using nested i18n block and using tal:repeat
 in the block

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28280 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 bt5/erp5_forge/ExtensionTemplateItem/Glossary.py | 2 +-
 bt5/erp5_forge/bt/change_log                     | 3 +++
 bt5/erp5_forge/bt/revision                       | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_forge/ExtensionTemplateItem/Glossary.py b/bt5/erp5_forge/ExtensionTemplateItem/Glossary.py
index 2f2b27692e..39523aa47d 100644
--- a/bt5/erp5_forge/ExtensionTemplateItem/Glossary.py
+++ b/bt5/erp5_forge/ExtensionTemplateItem/Glossary.py
@@ -130,7 +130,7 @@ from TAL.DummyEngine import DummyEngine
 class MyDummyEngine(DummyEngine):
 
   def evaluate(self, expression):
-    return None
+    return [] 
 
 
 class MyDummyTALInterpreter(TALInterpreter):
diff --git a/bt5/erp5_forge/bt/change_log b/bt5/erp5_forge/bt/change_log
index 4628a7da40..8b3d291bd6 100644
--- a/bt5/erp5_forge/bt/change_log
+++ b/bt5/erp5_forge/bt/change_log
@@ -1,3 +1,6 @@
+2009-08-05 tatuya
+* Fix 'Generate POT File' function when there is a PageTemplate which is using nested i18n block and using tal:repeat in the block
+
 2009-06-30 romain
 * Revert latest proxy field library simplification, as the design was not finalized.
 
diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision
index 9f8ebf73f9..662106aa47 100644
--- a/bt5/erp5_forge/bt/revision
+++ b/bt5/erp5_forge/bt/revision
@@ -1 +1 @@
-482
\ No newline at end of file
+485
\ No newline at end of file
-- 
2.30.9