aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-24 13:57:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-24 13:57:39 +0000
commitfe249d67020389f6a6190ffd1acdfa932c1140dc (patch)
tree8788545ceb1449d803de10b164855e4aafc1a10c /Rpmdrake/edit_urpm_sources.pm
parentfe847afb4503e265d28a4eb192271a50671b5a68 (diff)
downloadrpmdrake-fe249d67020389f6a6190ffd1acdfa932c1140dc.tar
rpmdrake-fe249d67020389f6a6190ffd1acdfa932c1140dc.tar.gz
rpmdrake-fe249d67020389f6a6190ffd1acdfa932c1140dc.tar.bz2
rpmdrake-fe249d67020389f6a6190ffd1acdfa932c1140dc.tar.xz
rpmdrake-fe249d67020389f6a6190ffd1acdfa932c1140dc.zip
(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)"]
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm4
1 files changed, 0 insertions, 4 deletions
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,