diff options
Diffstat (limited to 'build_tools')
-rw-r--r-- | build_tools/post_process_documentation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/post_process_documentation.py b/build_tools/post_process_documentation.py index b2d9e5e72..678328dd3 100644 --- a/build_tools/post_process_documentation.py +++ b/build_tools/post_process_documentation.py @@ -22,9 +22,9 @@ def merge_parameter_information(managerEvent): def __swap_parameter_documentation(one, two): # See who has the better documentation and use it - if (one.hasChildNodes()): + if (one.hasChildNodes() and not two.hasChildNodes()): two.parentNode.replaceChild(one.cloneNode(True), two) - elif (two.hasChildNodes()): + elif (two.hasChildNodes() and not one.hasChildNodes()): one.parentNode.replaceChild(two.cloneNode(True), one) def __merge_parameter(param, other_instances): |