aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-02 00:55:32 +0100
committerOlivier Blin <dev@blino.org>2015-11-02 00:55:32 +0100
commitab2ec1d88ebb672818619727b67189ca686b73d8 (patch)
tree320c3af719e11be6311b3e964c20eef1dcd24b6f /lib
parent96c8c90004a0fcbdf5e7d0f1741ad2d5b468909d (diff)
downloadmga-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.pm4
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;