summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-21 01:18:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-21 01:18:30 +0000
commitbe8cb30b17349ecba901b4f256c3c64bb7903fd1 (patch)
tree5c954a5f20cf7064373a0ee99c15a316a8525ffd /urpm.pm
parentb3f81a28cee27efe9355c43be040df8841bf55e6 (diff)
downloadurpmi-be8cb30b17349ecba901b4f256c3c64bb7903fd1.tar
urpmi-be8cb30b17349ecba901b4f256c3c64bb7903fd1.tar.gz
urpmi-be8cb30b17349ecba901b4f256c3c64bb7903fd1.tar.bz2
urpmi-be8cb30b17349ecba901b4f256c3c64bb7903fd1.tar.xz
urpmi-be8cb30b17349ecba901b4f256c3c64bb7903fd1.zip
local is not necessary here
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*$//;