diff options
author | Olivier Blin <dev@blino.org> | 2015-11-02 00:55:32 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2015-11-02 00:55:32 +0100 |
commit | ab2ec1d88ebb672818619727b67189ca686b73d8 (patch) | |
tree | 320c3af719e11be6311b3e964c20eef1dcd24b6f /lib | |
parent | 96c8c90004a0fcbdf5e7d0f1741ad2d5b468909d (diff) | |
download | mga-youri-submit-ab2ec1d88ebb672818619727b67189ca686b73d8.tar mga-youri-submit-ab2ec1d88ebb672818619727b67189ca686b73d8.tar.gz mga-youri-submit-ab2ec1d88ebb672818619727b67189ca686b73d8.tar.bz2 mga-youri-submit-ab2ec1d88ebb672818619727b67189ca686b73d8.tar.xz mga-youri-submit-ab2ec1d88ebb672818619727b67189ca686b73d8.zip |
Fix printing revisions in error message of Check::Recency
Merge of manual edit on valstar.mageia.from unknown gruik author.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Youri/Submit/Check/Recency.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm index b34a0eb..31a0b41 100644 --- a/lib/Youri/Submit/Check/Recency.pm +++ b/lib/Youri/Submit/Check/Recency.pm @@ -29,7 +29,7 @@ sub run { push( @errors, "Current or newer revision(s) already exists in $section for $target: " . - join(', ', @revisions) + join(', ', map { $_->get_revision } @revisions) ); } @@ -49,7 +49,7 @@ sub run { push( @errors, "Current or newer revision(s) already exists in $section for $target: " . - join(', ', @default_revisions) + join(', ', map { $_->get_revision } @revisions) ); } $define->{section} = $defined_section; |