summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--logilab/common/umessage.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/logilab/common/umessage.py b/logilab/common/umessage.py
index a5e4799..664d3e0 100644
--- a/logilab/common/umessage.py
+++ b/logilab/common/umessage.py
@@ -22,12 +22,8 @@ __docformat__ = "restructuredtext en"
import email
from encodings import search_function
import sys
-if sys.version_info >= (2, 5):
- from email.utils import parseaddr, parsedate
- from email.header import decode_header
-else:
- from email.Utils import parseaddr, parsedate
- from email.Header import decode_header
+from email.utils import parseaddr, parsedate
+from email.header import decode_header
from datetime import datetime