[Erp5-report] r31067 nicolas - /erp5/trunk/products/ERP5OOo/FormPrintout.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 4 10:49:50 CET 2009
Author: nicolas
Date: Fri Dec 4 10:49:45 2009
New Revision: 31067
URL: http://svn.erp5.org?rev=31067&view=rev
Log:
Transform named parameters to positional parameters
Modified:
erp5/trunk/products/ERP5OOo/FormPrintout.py
Modified: erp5/trunk/products/ERP5OOo/FormPrintout.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/FormPrintout.py?rev=31067&r1=31066&r2=31067&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] Fri Dec 4 10:49:45 2009
@@ -881,8 +881,8 @@
def _replaceNodeViaReference(self, element_tree, field):
"""replace nodes (e.g. paragraphs) via ODF reference"""
- self._replaceNodeViaRangeReference(element_tree=element_tree, field=field)
- self._replaceNodeViaPointReference(element_tree=element_tree, field=field)
+ self._replaceNodeViaRangeReference(element_tree, field)
+ self._replaceNodeViaPointReference(element_tree, field)
self._replaceNodeViaFormName(element_tree, field)
def _renderField(self, field):
@@ -913,7 +913,7 @@
xpath=reference_xpath,
element_tree=element_tree)
- def _replaceNodeViaRangeReference(self, element_tree=None, field=None, iteration_index=0):
+ def _replaceNodeViaRangeReference(self, element_tree, field, iteration_index=0):
"""Replace text node via an ODF ranged reference.
range reference example:
More information about the Erp5-report
mailing list