fix python PEP8 style issue

Signed-off-by: Alice Ferrazzi <alice.ferra...@gmail.com>
---
 tools/testing/selftests/bpf/tcp_client.py | 4 ++--
 tools/testing/selftests/bpf/tcp_server.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/testing/selftests/bpf/tcp_client.py 
b/tools/testing/selftests/bpf/tcp_client.py
index 7f8200a8702b..c3c44633c801 100755
--- a/tools/testing/selftests/bpf/tcp_client.py
+++ b/tools/testing/selftests/bpf/tcp_client.py
@@ -24,7 +24,7 @@ def send(sock, s):
         try: n = sock.send(s)
         except (socket.error) as e: n = 0
         if n == 0:
-            return count;
+            return count
         count += n
     return count
 
@@ -45,7 +45,7 @@ while n < 1000:
     buf += b'+'
     n += 1
 
-sock.settimeout(1);
+sock.settimeout(1)
 n = send(sock, buf)
 n = read(sock, 500)
 sys.exit(0)
diff --git a/tools/testing/selftests/bpf/tcp_server.py 
b/tools/testing/selftests/bpf/tcp_server.py
index b39903fca4c8..183d07509a0a 100755
--- a/tools/testing/selftests/bpf/tcp_server.py
+++ b/tools/testing/selftests/bpf/tcp_server.py
@@ -24,7 +24,7 @@ def send(sock, s):
         try: n = sock.send(s)
         except (socket.error) as e: n = 0
         if n == 0:
-            return count;
+            return count
         count += n
     return count
 
@@ -72,7 +72,7 @@ while True:
                 address = str(address[0])
                 readList.append(clientSocket)
             else:
-                sock.settimeout(1);
+                sock.settimeout(1)
                 s = read(sock, 1000)
                 n = send(sock, buf)
                 sock.close()
-- 
2.19.2

Reply via email to