summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-01-30 09:22:51 -0800
committerDylan Baker <dylan@pnwbakers.com>2017-01-30 09:22:51 -0800
commita0d8ace8972c4b2fc024c08612583b2003225dbe (patch)
tree30e70ed2e2a74a1cd1b7f4ef297c9202b3392d27 /alot
parent1a403797f07cfa425b52926b60336ae1301650e2 (diff)
widgets/thread: Fix improper use of iteritems
Fixes #1016
Diffstat (limited to 'alot')
-rw-r--r--alot/widgets/thread.py2
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: