aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:07:25 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:07:25 +0000
commitb8aae8821f1379ae283f8d764d23d481ba9777ed (patch)
treec5768344ef981566e33da1380525f4197a2d4418 /modules/buildsystem
parent64bd769839db37ddcc613f0aa2e0cc699f878701 (diff)
downloadpuppet-b8aae8821f1379ae283f8d764d23d481ba9777ed.tar
puppet-b8aae8821f1379ae283f8d764d23d481ba9777ed.tar.gz
puppet-b8aae8821f1379ae283f8d764d23d481ba9777ed.tar.bz2
puppet-b8aae8821f1379ae283f8d764d23d481ba9777ed.tar.xz
puppet-b8aae8821f1379ae283f8d764d23d481ba9777ed.zip
buildsystem/Mageia.pm: remove warning
Remove warning about deprecated method.
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/files/Mageia.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/files/Mageia.pm b/modules/buildsystem/files/Mageia.pm
index 109aeb29..2007fa05 100644
--- a/modules/buildsystem/files/Mageia.pm
+++ b/modules/buildsystem/files/Mageia.pm
@@ -454,7 +454,7 @@ sub get_upload_newer_revisions {
my ($self, $package, $target, $user_context, $app_context) = @_;
croak "Not a class method" unless ref $self;
my $arch = $package->get_arch();
- my $name = $package->get_full_name;
+ my $name = $package->as_string();
$name =~ s/^\@\d+://;
my $pattern = $self->get_package_class()->get_pattern($package->get_name(), undef, undef, $arch);
my $media = $self->_get_media_config($target);