Skip to content

Commit

Permalink
Remove returns from init methods
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisKrone committed Nov 13, 2020
1 parent 20a6315 commit 85a8928
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions locust/input_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -46,8 +45,6 @@ def __init__(self):
self.cur_keys_length = 0
self.captured_chars = []

return self

def cleanup(self):
pass

Expand Down

0 comments on commit 85a8928

Please sign in to comment.