From aaccb23f8f28cda32f671a9fb8f4f0b4a0c3eb9b Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Fri, 30 Apr 2010 11:42:59 +0000
Subject: [PATCH] This should be included in
 http://svn.erp5.org?rev=34880&view=rev sorry

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34891 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Document.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py
index fc094fda9f..3c4ca3058b 100644
--- a/product/ERP5/Document/Document.py
+++ b/product/ERP5/Document/Document.py
@@ -749,7 +749,7 @@ class Document(PermanentURLMixIn, XMLObject, UrlMixIn, CachedConvertableMixin, S
     kw = dict(reference=self.getReference(), sort_on=(('version','descending'),))
     if language is not None:
       kw['language'] = language
-    res = catalog(**kw)
+    result_list = catalog(**kw)
 
     original_language = self.getOriginalLanguage()
     user_language = self.Localizer.get_selected_language()
-- 
2.30.9