aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-19 14:49:17 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-19 14:49:17 +0000
commitd7a685b9fa14f29a18671e980565d61b5267c74d (patch)
tree377bd2b6a4cb316118c75c65ca4d640a5d037517 /Rpmdrake/pkg.pm
parentaff84f71451528f25e6f2f5ae1f862b0e85fc399 (diff)
downloadrpmdrake-d7a685b9fa14f29a18671e980565d61b5267c74d.tar
rpmdrake-d7a685b9fa14f29a18671e980565d61b5267c74d.tar.gz
rpmdrake-d7a685b9fa14f29a18671e980565d61b5267c74d.tar.bz2
rpmdrake-d7a685b9fa14f29a18671e980565d61b5267c74d.tar.xz
rpmdrake-d7a685b9fa14f29a18671e980565d61b5267c74d.zip
(get_update_medias) move it from Rpmdrake::pkgs into Rpmdrake::open_db
where resides get_inactive_backport_media() (more logical place and will be used by mdkapplet)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 10d7fe2f..3f06a293 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -201,11 +201,6 @@ sub download_callback {
my (@update_medias, $is_update_media_already_asked);
-sub get_update_medias {
- my ($urpm) = @_;
- grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};
-}
-
sub warn_about_media {
my ($w, $opts) = @_;