aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-20 10:21:59 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-20 10:21:59 +0000
commitd9eb474b115a57116b7c60201da54160cb497f65 (patch)
tree0b8ab0a3f1445cd074500dcf4d857651db5d6c5b /Rpmdrake/pkg.pm
parent6951b40278e8f874cc89e2988a054b13f9a3ac0e (diff)
downloadrpmdrake-d9eb474b115a57116b7c60201da54160cb497f65.tar
rpmdrake-d9eb474b115a57116b7c60201da54160cb497f65.tar.gz
rpmdrake-d9eb474b115a57116b7c60201da54160cb497f65.tar.bz2
rpmdrake-d9eb474b115a57116b7c60201da54160cb497f65.tar.xz
rpmdrake-d9eb474b115a57116b7c60201da54160cb497f65.zip
(perform_removal) fix a crash
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 7db67782..4c9d666f 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -731,7 +731,7 @@ sub perform_removal {
my ($urpm, $pkgs) = @_;
my @toremove = map { if_($pkgs->{$_}{selected}, $pkgs->{$_}{urpm_name}) } keys %$pkgs;
return if !@toremove;
- my $gurpm = Rpmdrake::gurpm::new(1 ? N("Please wait") : N("Please wait, removing packages..."), N("Initializing..."), transient => $::main_window);
+ my $gurpm = Rpmdrake::gurpm->new(1 ? N("Please wait") : N("Please wait, removing packages..."), N("Initializing..."), transient => $::main_window);
my $progress = -1;
local $urpm->{log} = sub {