summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2021-10-11 16:28:29 +0100
committerGitHub <noreply@github.com>2021-10-11 16:28:29 +0100
commit4c838112dcb06d83e6cfd0f14bf95197fb466863 (patch)
tree23c47635d0d0d420768fe8d8a38b5d22148b23d9 /scripts
parentRelease script improvements (#10966) (diff)
downloadsynapse-4c838112dcb06d83e6cfd0f14bf95197fb466863.tar.xz
Remove unnecessary list comprehension in `synapse_port_db` to fix linting in CI (#11043)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/synapse_port_db2
1 files changed, 1 insertions, 1 deletions
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