Merge "Improve connection timeout log message"
This commit is contained in:
commit
92d8637ef1
|
@ -77,7 +77,7 @@ def nodescan(ip, port=22, timeout=60, gather_hostkeys=True):
|
||||||
key = None
|
key = None
|
||||||
for count in iterate_timeout(
|
for count in iterate_timeout(
|
||||||
timeout, exceptions.ConnectionTimeoutException,
|
timeout, exceptions.ConnectionTimeoutException,
|
||||||
"connection on port %s" % port):
|
"connection to %s on port %s" % (ip, port)):
|
||||||
sock = None
|
sock = None
|
||||||
t = None
|
t = None
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue