Skip to content

Commit 94d5743

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 92f79a6 commit 94d5743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/module_utils/network/netconf/netconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ def sanitize_xml(data):
133133
attribute.pop(key)
134134
return to_text(tostring(tree), errors="surrogate_then_replace").strip()
135135

136+
136137
def copy_config(module, source, target):
137138
conn = get_connection(module)
138139
try:
139140
response = conn.copy_config(source=source, target=target)
140141
except ConnectionError as e:
141142
module.fail_json(msg=to_text(e, errors="surrogate_then_replace").strip())
142143
return response
143-

0 commit comments

Comments
 (0)