[Erp5-report] r40358 kazuhiko - /erp5/trunk/products/ERP5/Document/WebSection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 18 13:19:42 CET 2010


Author: kazuhiko
Date: Thu Nov 18 13:19:41 2010
New Revision: 40358

URL: http://svn.erp5.org?rev=40358&view=rev
Log:
no longer pass 'view' argument to the type based method of getPermanentURL.

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

Modified: erp5/trunk/products/ERP5/Document/WebSection.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/WebSection.py?rev=40358&r1=40357&r2=40358&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/WebSection.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/WebSection.py [utf8] Thu Nov 18 13:19:41 2010
@@ -307,8 +307,7 @@ class WebSection(Domain, DocumentExtensi
 
       document = document.getObject().__of__(self)
       result = document._getTypeBasedMethod('getPermanentURL',
-                     fallback_script_id='WebSection_getPermanentURL')(document,
-                         view=view)
+                     fallback_script_id='WebSection_getPermanentURL')(document)
 
       if cache is not None:
         cache[key] = result




More information about the Erp5-report mailing list