diff options
author | Erik Johnston <erikj@jki.re> | 2019-04-04 10:44:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-04 10:44:46 +0100 |
commit | 43c707a010a6d7d6cc6e07af086b8683e84e41a3 (patch) | |
tree | eb7255ffa00e4bd99e085de324013c915c719de0 /scripts/synapse_port_db | |
parent | Correct default POSTGRES_USER in Docker README (#4987) (diff) | |
parent | Fix issue #4596 (diff) | |
download | synapse-43c707a010a6d7d6cc6e07af086b8683e84e41a3.tar.xz |
Merge pull request #5004 from ajensenwaud/develop
Fix issue #4596
Diffstat (limited to 'scripts/synapse_port_db')
-rwxr-xr-x | scripts/synapse_port_db | 2 |
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: |