[PATCH 04/15] Rename email.Parser to email.parser
Łukasz Żarnowiecki
dolohow at outlook.com
Tue May 10 00:18:26 BST 2016
Signed-off-by: Łukasz Żarnowiecki <dolohow at outlook.com>
---
offlineimap/emailutil.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/offlineimap/emailutil.py b/offlineimap/emailutil.py
index 0c732e2..5387919 100644
--- a/offlineimap/emailutil.py
+++ b/offlineimap/emailutil.py
@@ -16,7 +16,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import email
-from email.Parser import Parser as MailParser
+from email.parser import Parser as MailParser
def get_message_date(content, header='Date'):
"""Parses mail and returns resulting timestamp.
--
2.8.2
More information about the OfflineIMAP-project
mailing list