From 4c838112dcb06d83e6cfd0f14bf95197fb466863 Mon Sep 17 00:00:00 2001 From: reivilibre Date: Mon, 11 Oct 2021 16:28:29 +0100 Subject: Remove unnecessary list comprehension in `synapse_port_db` to fix linting in CI (#11043) --- scripts/synapse_port_db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/synapse_port_db') diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db index a947d9e49e..349866eb9a 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db @@ -1069,7 +1069,7 @@ class CursesProgress(Progress): self.stdscr.addstr(0, 0, status, curses.A_BOLD) - max_len = max([len(t) for t in self.tables.keys()]) + max_len = max(len(t) for t in self.tables.keys()) left_margin = 5 middle_space = 1 -- cgit 1.4.1