Skip to content

Commit

Permalink
double read from future while getting NC server response (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: Wolfram Burkhardt <[email protected]>
  • Loading branch information
wburkhardt and Wolfram Burkhardt authored Feb 14, 2022
1 parent 9f2430b commit 2db69eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netconf_client/ncclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _send_rpc(self, rpc_xml):
if not r:
self._log_rpc_failure("RPC returned without result")
else:
(raw, ele) = f.result(timeout=timeout)
(raw, ele) = r
self._log_rpc_response(raw)
return (raw, ele)
except TimeoutError:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "netconf_client"
version = "2.0.0"
version = "2.0.1"
description = "A Python NETCONF client"
authors = ["ADTRAN, Inc."]
license = "Apache-2.0"
Expand Down

0 comments on commit 2db69eb

Please sign in to comment.