Skip to content

Commit bc6d821

Browse files
authored
Update review comment
1 parent f92e610 commit bc6d821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymodbus/client/async/deprecated/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
event_loop, future = Client(schedulers.IO_LOOP, port=5020)
2222
2323
# For twisted based async client use
24-
event_loop, future = Client(schedulers.REACTOR, port=5020)
24+
event_loop, deferred = Client(schedulers.REACTOR, port=5020)
2525
2626
# For asyncio based async client use
2727
event_loop, client = Client(schedulers.ASYNC_IO, port=5020)
@@ -44,4 +44,4 @@
4444

4545

4646
def deprecated(name): # pragma: no cover
47-
warnings.warn(WARNING.format(name), DeprecationWarning)
47+
warnings.warn(WARNING.format(name), DeprecationWarning)

0 commit comments

Comments
 (0)