diff options
author | Marcus <bubu@bubu1.eu> | 2021-06-17 16:20:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 15:20:06 +0100 |
commit | 8070b893dbc7b9e17b4843f70e4f4e32a52ce58a (patch) | |
tree | 9eb99d5c80ae058ba86292ffabbf2c0eaaa73600 /contrib/experiments | |
parent | Fix incorrect time magnitude on delayed call (#10195) (diff) | |
download | synapse-8070b893dbc7b9e17b4843f70e4f4e32a52ce58a.tar.xz |
update black to 21.6b0 (#10197)
Reformat all files with the new version. Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
Diffstat (limited to 'contrib/experiments')
-rw-r--r-- | contrib/experiments/cursesio.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/experiments/cursesio.py b/contrib/experiments/cursesio.py index cff73650e6..7695cc77ca 100644 --- a/contrib/experiments/cursesio.py +++ b/contrib/experiments/cursesio.py @@ -46,14 +46,14 @@ class CursesStdIO: self.callback = callback def fileno(self): - """ We want to select on FD 0 """ + """We want to select on FD 0""" return 0 def connectionLost(self, reason): self.close() def print_line(self, text): - """ add a line to the internal list of lines""" + """add a line to the internal list of lines""" self.lines.append(text) self.redraw() @@ -92,7 +92,7 @@ class CursesStdIO: ) def doRead(self): - """ Input is ready! """ + """Input is ready!""" curses.noecho() c = self.stdscr.getch() # read a character @@ -132,7 +132,7 @@ class CursesStdIO: return "CursesStdIO" def close(self): - """ clean up """ + """clean up""" curses.nocbreak() self.stdscr.keypad(0) |