aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-24 13:59:42 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-24 13:59:42 +0000
commit290b70c0de8f15f1f071871dee17302b1e609d17 (patch)
tree618a53f895b50066627dd42c67bd8e62cbf34983
parentffec7627deb30ef51e5178347be8bb009a38bfeb (diff)
downloadrpmdrake-290b70c0de8f15f1f071871dee17302b1e609d17.tar
rpmdrake-290b70c0de8f15f1f071871dee17302b1e609d17.tar.gz
rpmdrake-290b70c0de8f15f1f071871dee17302b1e609d17.tar.bz2
rpmdrake-290b70c0de8f15f1f071871dee17302b1e609d17.tar.xz
rpmdrake-290b70c0de8f15f1f071871dee17302b1e609d17.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)"]
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/edit_urpm_sources.pm4
2 files changed, 1 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 04e9eba7..dd982a39 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- edit-urpm-sources:
+ o do not drop 'ignore' flag when updating a medium (#44930)
o fix displaying type of altered mirrorlist media (#44930)
Version 5.0.3 - 21 October 2008, Thierry Vignaud
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index ecb3d2b1..d39635f4 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1075,10 +1075,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,