about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiQuery.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-08-14 00:29:44 +0000
committerEric Wong <e@80x24.org>2021-08-14 05:57:47 +0000
commitea9b01fc63f864435370d3bc9cec674ce03e887e (patch)
tree68316244d55e7ce43442a0025da666ef7b4817ef /lib/PublicInbox/LeiQuery.pm
parent7d576adffbbd61f04278937d882d7ffde570cecd (diff)
downloadpublic-inbox-ea9b01fc63f864435370d3bc9cec674ce03e887e.tar.gz
PublicInbox::Import never imports @UNWANTED_HEADERS, so ensure
our mock blob OIDs do the same.  This ought to prevent
duplicates if the PSGI mboxrd download starts setting
"X-Status: F" like "lei q -tt .."
Diffstat (limited to 'lib/PublicInbox/LeiQuery.pm')
-rw-r--r--lib/PublicInbox/LeiQuery.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm
index 37b660f9..962ad49e 100644
--- a/lib/PublicInbox/LeiQuery.pm
+++ b/lib/PublicInbox/LeiQuery.pm
@@ -73,7 +73,7 @@ sub lxs_prepare {
         my @only = @{$opt->{only} // []};
         # --local is enabled by default unless --only is used
         # we'll allow "--only $LOCATION --local"
-        my $sto = $self->_lei_store(1); # FIXME: should not create
+        my $sto = $self->_lei_store(1);
         $self->{lse} = $sto->search;
         if ($opt->{'local'} //= scalar(@only) ? 0 : 1) {
                 $lxs->prepare_external($self->{lse});