summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-12-11 12:31:39 +0100
committerLucas Hoffmann <l-m-h@web.de>2016-12-14 08:31:39 +0100
commit571422a079ce235eba738ccfeac1ca2f043ece23 (patch)
tree6fe4137fa298d94ad946d07ed7b777dd8dc16be8 /alot
parent468df6a8895b31aeef60ebbfc3ae873c399d91c9 (diff)
Fix import to be compatible with python 2.7 and 3
The lower case version is available since 2.5.
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index ad7110ed..bf37b842 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -8,7 +8,7 @@ import os
import re
import subprocess
import tempfile
-from email.Utils import getaddresses, parseaddr
+from email.utils import getaddresses, parseaddr
from email.message import Message
from twisted.internet.defer import inlineCallbacks