From 0b5ad33eeebfc4d02a319e6b01f068954c438ff6 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Sun, 14 Dec 2008 12:03:56 +0000
Subject: [PATCH] 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
---
 lib/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/utils.py b/lib/utils.py
index 823c20815..23387aac3 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -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:
-- 
GitLab