summaryrefslogtreecommitdiff
path: root/alot/widgets/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/widgets/thread.py')
-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 a0aa16d3..9b8d029d 100644
--- a/alot/widgets/thread.py
+++ b/alot/widgets/thread.py
@@ -276,7 +276,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.items():
+ for key, value in mail.iteritems():
dvalue = decode_header(value, normalize=normalize)
lines.append((key, dvalue))
else: