summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-02-27 11:18:27 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commit765a7f9cbe553b673ae37bd7b31bb4dbf07064c4 (patch)
tree32490211852cbc9b93f2ca4395b18ffce307e14e /alot/commands/globals.py
parentfc065b41795dff3bf68617429ff08bf7d89de415 (diff)
commands/globals: fix bindings help for py3k
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index b5ad191a..a3c21400 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -621,7 +621,7 @@ class HelpCommand(Command):
globalmaps, modemaps = settings.get_keybindings(ui.mode)
# build table
- maxkeylength = len(max((modemaps).keys() + globalmaps.keys(),
+ maxkeylength = len(max(list(modemaps.keys()) + list(globalmaps.keys()),
key=len))
keycolumnwidth = maxkeylength + 2