summaryrefslogtreecommitdiff
path: root/alot/widgets/globals.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 14:31:24 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:26:19 +0100
commit84c79143dcf0a56112d8703f24052ca1f5f2832c (patch)
treee824421a44e77464f262f344bc0f4b87d610ea0c /alot/widgets/globals.py
parentfe748a7f47fb61d46dd88c270c2329e6ff19a895 (diff)
Fix except syntax
Diffstat (limited to 'alot/widgets/globals.py')
-rw-r--r--alot/widgets/globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py
index f4a5659e..f31f0aa7 100644
--- a/alot/widgets/globals.py
+++ b/alot/widgets/globals.py
@@ -140,7 +140,7 @@ class CompleteEdit(urwid.Edit):
self.completions += self.completer.complete(self.edit_text,
self.edit_pos)
self.focus_in_clist = 1
- except CompletionError, e:
+ except CompletionError as e:
if self.on_error is not None:
self.on_error(e)