From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2C5B21FB07 for ; Sun, 19 Sep 2021 12:50:36 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 05/16] lei_xsearch: drop Data::Dumper use Date: Sun, 19 Sep 2021 12:50:24 +0000 Message-Id: <20210919125035.6331-6-e@80x24.org> In-Reply-To: <20210919125035.6331-1-e@80x24.org> References: <20210919125035.6331-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We're not using Data::Dumper for JSON output. --- lib/PublicInbox/LeiXSearch.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index 4583b067..756183a9 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -633,7 +633,7 @@ sub _lcat2smsg { # git->cat_async callback } } -sub lcat_dump { +sub lcat_dump { # via wq_io_do my ($self) = @_; my $lei = $self->{lei}; my $each_smsg = $lei->{ovv}->ovv_each_smsg_cb($lei); @@ -642,7 +642,6 @@ sub lcat_dump { my $json_dump = $each_smsg; $each_smsg = sub { my ($smsg) = @_; - use Data::Dumper; $smsg->{-json_dump} = $json_dump; $git->cat_async($smsg->{blob}, \&_lcat2smsg, $smsg); };