Remove unused function transfer_childs.
This commit is contained in:
parent
9d94cda03f
commit
92b51a0f35
1 changed files with 0 additions and 12 deletions
12
secretary.py
12
secretary.py
|
|
@ -237,18 +237,6 @@ class Render(object):
|
||||||
parent.removeChild(field)
|
parent.removeChild(field)
|
||||||
|
|
||||||
|
|
||||||
def transfer_childs(from_node, to_node):
|
|
||||||
if from_node.hasChildNodes():
|
|
||||||
for child_node in from_node.childNodes:
|
|
||||||
|
|
||||||
new_child = to_node.appendChild(child_node)
|
|
||||||
|
|
||||||
if child_node.hasChildNodes():
|
|
||||||
transfer_childs(child_node, new_child)
|
|
||||||
|
|
||||||
# return to_node
|
|
||||||
|
|
||||||
|
|
||||||
def markdown_filter(markdown_text):
|
def markdown_filter(markdown_text):
|
||||||
"""
|
"""
|
||||||
Convert a markdown text into a ODT formated text
|
Convert a markdown text into a ODT formated text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue