summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
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: