summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index ab545aa9..f569989e 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2365,7 +2365,6 @@ sub create_transaction {
sub get_packages_list {
my ($file, $extra) = @_;
my $val = [];
- local $_;
open my $f, $file or return {};
foreach (<$f>, split /,/, $extra || '') {
chomp; s/#.*$//; s/^\s*//; s/\s*$//;