commit | 9f0f960d4ce48062dcb286903721fa89d6037159 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Jun 12 22:23:59 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Jun 12 22:23:59 2008 +0000 |
tree | 4640c5dd2f0ffc54affa131fe6b48cb70d480b71 | |
parent | a0c0a4a2616e83084052a34c9806b3308f5799db [diff] [blame] |
Remove traces of rfc822.
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index 15342f1..260e1aa 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py
@@ -207,8 +207,8 @@ self.file = file self.sec, self.num = sec_num if fp: - import rfc822 - self.__headers = rfc822.Message(fp) + import email + self.__headers = email.message_from_file(fp) self.body = fp.read().strip() else: self.__headers = {'title': "%d.%d. " % sec_num}