[Erp5-report] r34020 jm - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 23 18:03:10 CET 2010


Author: jm
Date: Tue Mar 23 18:03:09 2010
New Revision: 34020

URL: http://svn.erp5.org?rev=34020&view=rev
Log:
Fix DocumentProxyMixin.index_html

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=34020&r1=34019&r2=34020&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Document.py [utf8] Tue Mar 23 18:03:09 2010
@@ -237,9 +237,9 @@
 
   security.declareProtected(Permissions.AccessContentsInformation,
                             'index_html' )
-  def index_html(self, REQUEST, RESPONSE, format=None, **kw):
+  def index_html(self, REQUEST, RESPONSE, **kw):
     """ Only a proxy method """
-    self.getProxiedDocument().index_html(REQUEST, RESPONSE, format, **kw)
+    return self.getProxiedDocument().index_html(REQUEST, RESPONSE, **kw)
 
   security.declareProtected(Permissions.AccessContentsInformation,
                             'getProxiedDocument' )




More information about the Erp5-report mailing list