From 8ba7aa6be8fb5689634c453fd505822d02f586a6 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 10 Apr 2018 17:35:23 -0400 Subject: Bug 1453126 - Bugzilla::Bloomfilter should encourage preserving the input files for its filters --- scripts/bloomfilter-populate.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/bloomfilter-populate.pl b/scripts/bloomfilter-populate.pl index c591a61b3..780e98bd0 100755 --- a/scripts/bloomfilter-populate.pl +++ b/scripts/bloomfilter-populate.pl @@ -14,8 +14,6 @@ use Bugzilla::Bloomfilter; # set Bugzilla usage mode to USAGE_MODE_CMDLINE Bugzilla->usage_mode(USAGE_MODE_CMDLINE); -my $name = shift @ARGV or die "usage: $0 \$name < list\n"; -my @lines = ; -chomp @lines; -Bugzilla::Bloomfilter->populate($name, \@lines); +my $name = shift @ARGV or die "usage: $0 \$name\n"; +Bugzilla::Bloomfilter->populate($name); -- cgit v1.2.3-24-g4f1b