summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/db/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/utils.py b/alot/db/utils.py
index cdbd1a4a..e4a2d2e0 100644
--- a/alot/db/utils.py
+++ b/alot/db/utils.py
@@ -251,7 +251,7 @@ def extract_headers(mail, headers=None):
"""
headertext = u''
if headers is None:
- headers = mail.iterkeys()
+ headers = mail.keys()
for key in headers:
value = u''
if key in mail: