From cfeee9edb97360a5dc328a72b93d5daf18888a41 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 19 May 2020 09:06:58 +0000 Subject: scripts/import_*: remove PublicInbox::MIME usage These aren't really supported and will probably be replaced with better tools, but PublicInbox::Eml should be readily available to anybody who already has our source tree. --- scripts/import_slrnspool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/import_slrnspool') diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool index 480e7b4f..bdcc605c 100755 --- a/scripts/import_slrnspool +++ b/scripts/import_slrnspool @@ -11,7 +11,7 @@ use strict; use warnings; use PublicInbox::Config; -use PublicInbox::MIME; +use PublicInbox::Eml; use PublicInbox::Import; use PublicInbox::Git; sub usage { "Usage:\n".join('',grep(/\t/, `head -n 10 $0`)) } @@ -70,7 +70,7 @@ for (; $exit == 0 && $n < $max; $n++) { $max = $n + $max_gap; print STDERR $fn, "\n"; - my $mime = PublicInbox::MIME->new(do { local $/; <$fh> }); + my $mime = PublicInbox::Eml->new(do { local $/; <$fh> }); $filter->scrub($mime); $im->add($mime); -- cgit v1.2.3-24-ge0c7