summary refs log tree commit diff
path: root/scripts/synapse_port_db
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-04-04 15:28:08 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-04-04 15:28:08 +0100
commitacc4003baa11e51a249c340d776ac3180688aef6 (patch)
treefd1104a8470157df1d4ec6b3331f300539fac2b7 /scripts/synapse_port_db
parentMake it actually work (diff)
parentClean up the database pagination code (#5007) (diff)
downloadsynapse-github/anoa/widgets_room_upgrade.tar.xz
Merge branch 'develop' into anoa/widgets_room_upgrade github/anoa/widgets_room_upgrade anoa/widgets_room_upgrade
Diffstat (limited to 'scripts/synapse_port_db')
-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 2fa01d1a18..3de394b035 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db
@@ -811,7 +811,7 @@ class CursesProgress(Progress): middle_space = 1 items = self.tables.items() - items.sort(key=lambda i: (i[1]["perc"], i[0])) + items = sorted(items, key=lambda i: (i[1]["perc"], i[0])) for i, (table, data) in enumerate(items): if i + 2 >= rows: