comparison MoinMoin/mail/mailimport.py @ 6107:dc5ef93e8609

stop using MoinMoin.support.HeaderFixed
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 02:04:16 +0200
parents b59cef3f6e09
children c788f228845e
comparison
equal deleted inserted replaced
6106:b59ee217581c 6107:dc5ef93e8609
10 """ 10 """
11 11
12 import sys, re, time 12 import sys, re, time
13 import email 13 import email
14 from email.Utils import getaddresses, parsedate_tz, mktime_tz 14 from email.Utils import getaddresses, parsedate_tz, mktime_tz
15 from email.Header import decode_header
15 16
16 from MoinMoin import wikiutil, user 17 from MoinMoin import wikiutil, user
17 from MoinMoin.action.AttachFile import add_attachment, AttachmentAlreadyExists 18 from MoinMoin.action.AttachFile import add_attachment, AttachmentAlreadyExists
18 from MoinMoin.Page import Page 19 from MoinMoin.Page import Page
19 from MoinMoin.PageEditor import PageEditor 20 from MoinMoin.PageEditor import PageEditor
20 # python, at least up to 2.4, ships a broken parser for headers
21 from MoinMoin.support.HeaderFixed import decode_header
22 21
23 infile = sys.stdin 22 infile = sys.stdin
24 23
25 debug = False 24 debug = False
26 25