From 65fbddebc0ef93f02aa730cac0cf4ef16259da1a Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 16 Jul 2010 06:58:18 +0000 Subject: [PATCH] Prevent recursion by using proper API. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37161 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/mixin/extensible_traversable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/mixin/extensible_traversable.py b/product/ERP5/mixin/extensible_traversable.py index 0b94689a0b..08b07c3c46 100644 --- a/product/ERP5/mixin/extensible_traversable.py +++ b/product/ERP5/mixin/extensible_traversable.py @@ -201,7 +201,7 @@ class OOoDocumentExtensibleTraversableMixIn(BaseExtensibleTraversableMixIn): mime, data = self.getConversion(format=EMBEDDED_FORMAT, file_name=name) document = OFSFile(name, name, data, content_type=mime).__of__(self.aq_parent) except (NotConvertedError, ConversionError, KeyError): - document = DocumentExtensibleTraversableMixIn._getExtensibleContent(self, request, name) + document = DocumentExtensibleTraversableMixIn.getExtensibleContent(self, request, name) # restore original security context if there's a logged in user if user is not None: setSecurityManager(old_manager) -- 2.30.9