diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-01-30 09:22:51 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-01-30 09:22:51 -0800 |
commit | a0d8ace8972c4b2fc024c08612583b2003225dbe (patch) | |
tree | 30e70ed2e2a74a1cd1b7f4ef297c9202b3392d27 /alot | |
parent | 1a403797f07cfa425b52926b60336ae1301650e2 (diff) |
widgets/thread: Fix improper use of iteritems
Fixes #1016
Diffstat (limited to 'alot')
-rw-r--r-- | alot/widgets/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 0568cb94..6084ebd5 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -271,7 +271,7 @@ class MessageTree(CollapsibleTree): if headers is None: # collect all header/value pairs in the order they appear headers = mail.keys() - for key, value in mail.iteritems(): + for key, value in mail.items(): dvalue = decode_header(value, normalize=normalize) lines.append((key, dvalue)) else: |