aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Submit/Action/Archive.pm
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-12-04 13:08:19 +0000
committerNicolas Vigier <boklm@mageia.org>2012-12-04 13:08:19 +0000
commit47d794c598d5a3ed00c23d0a1d2daf634c30ab6f (patch)
treedd2879d14c062228e7c0827a575adb3fdcb59145 /lib/Youri/Submit/Action/Archive.pm
parent2b75b5315e452e01803d9ac719d6f52dcc204ad5 (diff)
downloadmga-youri-submit-47d794c598d5a3ed00c23d0a1d2daf634c30ab6f.tar
mga-youri-submit-47d794c598d5a3ed00c23d0a1d2daf634c30ab6f.tar.gz
mga-youri-submit-47d794c598d5a3ed00c23d0a1d2daf634c30ab6f.tar.bz2
mga-youri-submit-47d794c598d5a3ed00c23d0a1d2daf634c30ab6f.tar.xz
mga-youri-submit-47d794c598d5a3ed00c23d0a1d2daf634c30ab6f.zip
Remove warnings about deprecated methods
Diffstat (limited to 'lib/Youri/Submit/Action/Archive.pm')
-rw-r--r--lib/Youri/Submit/Action/Archive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Action/Archive.pm b/lib/Youri/Submit/Action/Archive.pm
index 2d65fd3..e870700 100644
--- a/lib/Youri/Submit/Action/Archive.pm
+++ b/lib/Youri/Submit/Action/Archive.pm
@@ -43,7 +43,7 @@ sub run {
foreach my $replaced_package (
$repository->get_replaced_packages($package, $target, $define)
) {
- my $file = $replaced_package->get_file();
+ my $file = $replaced_package->as_file();
my ($rep_section, $rep_main_section) = $file =~ m,$path/(([^/]+)/.*)/[^/]+.rpm,;
# We do accept duplicate version for other submedia of the same main media section