Skip to content

Commit

Permalink
Fixed typo that resulted in undefined name that did not affect unit t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
comrumino committed Apr 18, 2021
1 parent b18987e commit 690f0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpyc/utils/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def connect_by_service(service_name, host=None, registrar=None, timeout=2, servi
# some of which could be dead. We iterate over the list returned and return the first
# one we could connect to. If none of the registered servers is responsive we re-throw
# the exception
addrs = discover(service_name, host=host, registrar=registar, timeout=timeout)
addrs = discover(service_name, host=host, registrar=registrar, timeout=timeout)
for host, port in addrs:
try:
return connect(host, port, service, config=config)
Expand Down

0 comments on commit 690f0be

Please sign in to comment.