Modify the way of parsing NETCONF XML message in ce.py (#69571)

* update module_utils for ce

* update module_utils for ce

* Module modification information

* Module modification information
pull/69999/head
yanzhangi 5 years ago committed by GitHub
parent df3540073c
commit e78c8be3d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- "ce - Modify the way of parsing NETCONF XML message in ce.py (https://github.com/ansible/ansible/pull/69571 https://github.com/ansible-collections/community.network/pull/39)."

@ -367,7 +367,7 @@ def get_nc_next(module, xml_str):
except ConnectionError: except ConnectionError:
break break
if result is not None: if result is not None:
return etree.tostring(result) return to_string(to_xml(result))
return result return result

Loading…
Cancel
Save