From fe249d67020389f6a6190ffd1acdfa932c1140dc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Nov 2008 13:57:39 +0000 Subject: (mainwindow::reread_media) stop droping 'ignore' flag when updating a medium (#44930) [was added in r17756 by rgarciasuarez on 2004-11-17: "When modifying a media has failed, restore it (and don't keep it in the intermediate state of being ignored)"] --- Rpmdrake/edit_urpm_sources.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 008de990..05b6e0b6 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -1080,10 +1080,6 @@ sub mainwindow() { $something_changed = 1; $urpm = fast_open_urpmi_db(); if (defined $name) { - #- this media must be reconstructed since editing it failed - if (my $medium = urpm::media::name2medium($urpm, $name)) { - delete $medium->{ignore}; - } urpm::media::select_media($urpm, $name); update_sources_check( $urpm, -- cgit v1.2.1