about summary refs log tree commit homepage
path: root/script
diff options
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-02-23 18:33:34 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-02-28 18:53:29 +0000
commitaece46bdf0af3dce045797c2e897a0088e4324a5 (patch)
tree1d5b0050d24e4c101be3cc806b890082bbdedf86 /script
parent18d3c1d54b96e6410c108ccac63e926a6451b18b (diff)
It works around some bugs in older Email::MIME which we'll
find useful.
Diffstat (limited to 'script')
2 files changed, 1 insertions, 5 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn
index bdc72e08..c51f9585 100755
--- a/script/public-inbox-learn
+++ b/script/public-inbox-learn
@@ -11,8 +11,6 @@ use PublicInbox::Config;
 use PublicInbox::Git;
 use PublicInbox::Import;
 use PublicInbox::MIME;
-use Email::MIME::ContentType;
-$Email::MIME::ContentType::STRICT_PARAMS = 0; # user input is imperfect
 use PublicInbox::Address;
 use PublicInbox::Spamcheck::Spamc;
 my $train = shift or die "usage: $usage\n";
diff --git a/script/public-inbox-mda b/script/public-inbox-mda
index 8cf44195..f1eaf629 100755
--- a/script/public-inbox-mda
+++ b/script/public-inbox-mda
@@ -15,9 +15,7 @@ sub do_exit {
 use Email::Simple;
-use Email::MIME;
-use Email::MIME::ContentType;
-$Email::MIME::ContentType::STRICT_PARAMS = 0; # user input is imperfect
+use PublicInbox::MIME;
 use PublicInbox::MDA;
 use PublicInbox::Config;
 use PublicInbox::Import;