aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-04 06:09:34 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-04 06:09:34 +0000
commitac7b1a6ef0815de9b4cd4eda3d10ecb7f9c36098 (patch)
tree0c17cd0ddcddda1816f6c02cf7fd6e45ffd27b99 /URPM
parent676bb3df229ee4452a29c484830bbc366f7dbb81 (diff)
downloadperl-URPM-ac7b1a6ef0815de9b4cd4eda3d10ecb7f9c36098.tar
perl-URPM-ac7b1a6ef0815de9b4cd4eda3d10ecb7f9c36098.tar.gz
perl-URPM-ac7b1a6ef0815de9b4cd4eda3d10ecb7f9c36098.tar.bz2
perl-URPM-ac7b1a6ef0815de9b4cd4eda3d10ecb7f9c36098.tar.xz
perl-URPM-ac7b1a6ef0815de9b4cd4eda3d10ecb7f9c36098.zip
(get_installed_arch) silent a warning (mga#8287)
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index c5aa514..09fffc5 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -99,7 +99,7 @@ sub find_candidate_packages {
sub get_installed_arch {
my ($db, $n) = @_;
my $arch;
- $db->traverse_tag_find('name', $n, sub { $arch = $_[0]->arch });
+ $db->traverse_tag_find('name', $n, sub { $arch = $_[0]->arch; 1 });
$arch;
}