aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-26 18:21:35 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-26 18:21:35 +0000
commitf3f66a027365956353355a9dd81aa0932c8840b5 (patch)
treebd256bb7c53ea95c3b0c177f6b64198c8f1b4ba0 /Rpmdrake/gui.pm
parent2485367155e9a7d4a4efa5a019b731c3390b3ddf (diff)
downloadrpmdrake-f3f66a027365956353355a9dd81aa0932c8840b5.tar
rpmdrake-f3f66a027365956353355a9dd81aa0932c8840b5.tar.gz
rpmdrake-f3f66a027365956353355a9dd81aa0932c8840b5.tar.bz2
rpmdrake-f3f66a027365956353355a9dd81aa0932c8840b5.tar.xz
rpmdrake-f3f66a027365956353355a9dd81aa0932c8840b5.zip
(get_pkgs,warn_about_media) pass a hash of options instead of a hash reference
also rename %opts as %options btw (inspirated from mdv)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 6a667751..5b210869 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -626,7 +626,7 @@ sub is_updatable {
sub pkgs_provider {
my ($mode, %options) = @_;
return if !$mode;
- my $h = &get_pkgs(\%options);
+ my $h = &get_pkgs(%options);
($urpm, $descriptions) = @$h{qw(urpm update_descr)};
$pkgs = $h->{all_pkgs};
%filters = (