From 85a892884ca9ad2e332e01d3406cae927c4505c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Krone=CC=81?= Date: Fri, 13 Nov 2020 14:18:28 +0100 Subject: [PATCH] Remove returns from init methods --- locust/input_events.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/locust/input_events.py b/locust/input_events.py index f88f32a860..bc45bf1417 100644 --- a/locust/input_events.py +++ b/locust/input_events.py @@ -26,7 +26,6 @@ def __init__(self): tty.setcbreak(self.stdin, termios.TCSANOW) except termios.error: pass - return self def cleanup(self): termios.tcsetattr(self.stdin, termios.TCSANOW, self.tattr) @@ -46,8 +45,6 @@ def __init__(self): self.cur_keys_length = 0 self.captured_chars = [] - return self - def cleanup(self): pass