diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-01 11:50:14 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-01 11:50:14 +0000 |
commit | 6b0cb86cdbeda58f178ba192f859524c172e61e1 (patch) | |
tree | aafa08989da44e0955652641ec8fea309b26aad9 /urpm.pm | |
parent | d8e3cc458601dfb9f3486f95234e2605165d18aa (diff) | |
download | urpmi-6b0cb86cdbeda58f178ba192f859524c172e61e1.tar urpmi-6b0cb86cdbeda58f178ba192f859524c172e61e1.tar.gz urpmi-6b0cb86cdbeda58f178ba192f859524c172e61e1.tar.bz2 urpmi-6b0cb86cdbeda58f178ba192f859524c172e61e1.tar.xz urpmi-6b0cb86cdbeda58f178ba192f859524c172e61e1.zip |
Silence a warning
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2307,7 +2307,7 @@ sub get_packages_list { my $val = []; local $_; open my $f, $file or return {}; - foreach (<$f>, split /,/, $extra) { + foreach (<$f>, split /,/, $extra || '') { chomp; s/#.*$//; s/^\s*//; s/\s*$//; push @$val, $_; } |