Commit 0b5ad33e authored by Iustin Pop's avatar Iustin Pop
Browse files

cleanup: TcpPing, wrong variable name

The default value of 'False' wasn't initialized properly. It doesn't
require initialization, but it's cleaner this way.

Reviewed-by: amishchenko
parent cd34e7bf
......@@ -1006,7 +1006,7 @@ def TcpPing(target, port, timeout=10, live_port_needed=False, source=None):
"""
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sucess = False
success = False
if source is not None:
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment