diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2016-07-14 14:31:24 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2016-12-09 11:26:19 +0100 |
commit | 84c79143dcf0a56112d8703f24052ca1f5f2832c (patch) | |
tree | e824421a44e77464f262f344bc0f4b87d610ea0c /alot/widgets/globals.py | |
parent | fe748a7f47fb61d46dd88c270c2329e6ff19a895 (diff) |
Fix except syntax
Diffstat (limited to 'alot/widgets/globals.py')
-rw-r--r-- | alot/widgets/globals.py | 2 |
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) |