Commit 8e175617 authored by Lu Xu's avatar Lu Xu 👀

wip

parent 4e7d4118
...@@ -52,7 +52,7 @@ md5sum = bc5d82b8737b6990674b280ef2774be7 ...@@ -52,7 +52,7 @@ md5sum = bc5d82b8737b6990674b280ef2774be7
[ru_lopcomm_ncclient_common.py] [ru_lopcomm_ncclient_common.py]
_update_hash_filename_ = ru/lopcomm/ncclient_common.py _update_hash_filename_ = ru/lopcomm/ncclient_common.py
md5sum = c0c0e2eccff46893f5595df8ea8d7fe8 md5sum = cce9da325b2f3e938deae3b5926fa4b8
[ru_lopcomm_delay.jinja2.py] [ru_lopcomm_delay.jinja2.py]
_update_hash_filename_ = ru/lopcomm/delay.jinja2.py _update_hash_filename_ = ru/lopcomm/delay.jinja2.py
......
...@@ -235,7 +235,7 @@ class LopcommNetconfClient: ...@@ -235,7 +235,7 @@ class LopcommNetconfClient:
""" """
delay_reply_xml = self.custom_rpc_request(delay_rpc_xml) delay_reply_xml = self.custom_rpc_request(delay_rpc_xml)
if delay_reply_xml: if delay_reply_xml:
nc.logger.info("Got delay parameter.") self.logger.info("Got delay parameter.")
delay_data = xmltodict.parse(delay_reply_xml) delay_data = xmltodict.parse(delay_reply_xml)
if self.delay_reply_json_logger: if self.delay_reply_json_logger:
self.delay_reply_json_logger.info('', extra={'data': json.dumps(delay_data)}) self.delay_reply_json_logger.info('', extra={'data': json.dumps(delay_data)})
......
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