Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 23d6985

Browse files
committed
Closes ncclientGH-1
1 parent 98f9e16 commit 23d6985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ncclient/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __set_async_mode(self, mode):
120120
self._async_mode = mode
121121

122122
def __set_raise_mode(self, mode):
123-
assert(choice in (operations.RaiseMode.NONE, operations.RaiseMode.ERRORS, operations.RaiseMode.ALL))
123+
assert(mode in (operations.RaiseMode.NONE, operations.RaiseMode.ERRORS, operations.RaiseMode.ALL))
124124
self._raise_mode = mode
125125

126126
def execute(self, cls, *args, **kwds):

0 commit comments

Comments
 (0)