aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 200ece85..24940866 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -221,7 +221,7 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
our $probe_only_for_updates;
sub get_pkgs {
- my ($urpm, $opts) = @_;
+ my ($opts) = @_;
my %update_descr;
@update_medias = ();
my $w = $::main_window;
@@ -231,7 +231,7 @@ sub get_pkgs {
my $_flush_guard = Gtk2::GUI_Update_Guard->new;
my $error_happened;
- $urpm = urpm->new;
+ my $urpm = urpm->new;
$urpm->{fatal} = sub {
$error_happened = 1;
interactive_msg(N("Fatal error"),