From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 84E331F4BE for ; Wed, 31 Jan 2024 10:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1706696421; bh=4XRgDhVwLJ41QJ0XPf+O4Y0Cn/s04JFJCNd7jMNS1HE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iSYoGX2PBEhECUlJHL7clpJF/CM9JDmtpU9NOdARF4OM/uy9Cjsu9BZwysLoqUdew aS1wVOF2TPWTlcNMUJKoBHuLvh0G4vNA7pt/s0grn9tvoZ+qIEK9NzDE19T77bw7dX 7XGeLTSIV0y1X3K9FvCUGZWStDa/2H3R6xti5oLM= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/5] import: drop redundant `use' statement Date: Wed, 31 Jan 2024 10:20:17 +0000 Message-ID: <20240131102021.1257902-3-e@80x24.org> In-Reply-To: <20240131102021.1257902-1-e@80x24.org> References: <20240131102021.1257902-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We don't need multiple `use PublicInbox::IO' statements to import a subroutine. --- lib/PublicInbox/Import.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index e4f8615e..51ddfa7f 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -16,7 +16,6 @@ use PublicInbox::MsgTime qw(msg_datestamp); use PublicInbox::ContentHash qw(content_digest); use PublicInbox::MDA; use PublicInbox::Eml; -use PublicInbox::IO; use POSIX qw(strftime); use autodie qw(socketpair); use Carp qw(croak);