File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,8 @@ use constant {
38
38
use POSIX qw( _exit) ;
39
39
use Getopt::Long qw/ :config gnu_getopt no_ignore_case/ ;
40
40
use File::Basename;
41
- use File::Path;
42
- use File::Temp;
43
41
use AptPkg::Config ' $_config' ;
44
- use List::MoreUtils qw/ any none uniq/ ;
42
+ use List::Util qw/ any none uniq/ ;
45
43
use Time::HiRes qw( gettimeofday tv_interval) ;
46
44
47
45
my ($Conf , @apt_options );
@@ -774,6 +772,7 @@ sub main {
774
772
}
775
773
else {
776
774
# create tmpfile for zgrep with patterns that have leading slash removed
775
+ require File::Temp;
777
776
my @zgrep_list = @list ;
778
777
map { s { ^/} {} } @zgrep_list ;
779
778
my $tmpfile = File::Temp->new();
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ apt-file (3.2.2) UNRELEASED; urgency=medium
4
4
under debug mode (despite the intention for it to be
5
5
disabled as it clashes with the debug messages).
6
6
* README.md: Update links to Julian's blog. (Closes: #921115)
7
+ * Optimize imports to reduce start up time a bit.
7
8
8
9
-- Niels Thykier <
[email protected] > Sat, 29 Dec 2018 09:42:48 +0000
9
10
You can’t perform that action at this time.
0 commit comments