Commit 2789125e authored by Nicolas Delaby's avatar Nicolas Delaby

Transform named parameters to positional parameters

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31067 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2a2907ff
......@@ -881,8 +881,8 @@ class ODTStrategy(ODFStrategy):
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 @@ class ODTStrategy(ODFStrategy):
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment