aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-30 16:15:57 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-30 16:15:57 +0000
commitcb3c84b944f50b00393442ac4ef9409c335c41d4 (patch)
tree3e7fa7b1895d84ff899238da52ff6e2b44a1472a /Rpmdrake/edit_urpm_sources.pm
parent12900aad62ef0135dd620043bd61274a9b331c73 (diff)
downloadrpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar
rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar.gz
rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar.bz2
rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar.xz
rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.zip
(mainwindow) make it more readable
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rwxr-xr-xRpmdrake/edit_urpm_sources.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 7514adf3..97fd0cdb 100755
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1093,7 +1093,11 @@ sub mainwindow() {
);
}
$list->clear;
- $list->append_set($col{mainw}{is_enabled} => !$_->{ignore}, $col{mainw}{is_update} => ! !$_->{update}, $col{mainw}{name} => $_->{name}) foreach grep { ! $_->{external} } @{$urpm->{media}};
+ foreach (grep { ! $_->{external} } @{$urpm->{media}}) {
+ $list->append_set($col{mainw}{is_enabled} => !$_->{ignore},
+ $col{mainw}{is_update} => ! !$_->{update},
+ $col{mainw}{name} => $_->{name});
+ }
$reorder_ok = 1;
};
$reread_media->();