diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-02-02 13:57:30 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-02-02 13:57:30 -0800 |
commit | 9c004781dbb872433d4244277db9434e2b034625 (patch) | |
tree | 5ec94e678b36c3c9be8e628703b4750235a12429 | |
parent | 567f4c2d8233e83b0489145064af662dbc010e00 (diff) |
alot/db/utils: Revert use of iterkeys on Message
Message doesn't have an iterkeys method, just a keys method.
-rw-r--r-- | alot/db/utils.py | 2 |
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: |