diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-23 13:54:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-23 13:54:13 +0000 |
commit | a5aa197c0d1c317c5619c78b4a42130d0282eb81 (patch) | |
tree | e82004fec7625d892055ed557a33c7da80cda601 /lib | |
parent | 7a9816909da6ea69827b81524bb904f1524258ff (diff) | |
download | mga-youri-submit-a5aa197c0d1c317c5619c78b4a42130d0282eb81.tar mga-youri-submit-a5aa197c0d1c317c5619c78b4a42130d0282eb81.tar.gz mga-youri-submit-a5aa197c0d1c317c5619c78b4a42130d0282eb81.tar.bz2 mga-youri-submit-a5aa197c0d1c317c5619c78b4a42130d0282eb81.tar.xz mga-youri-submit-a5aa197c0d1c317c5619c78b4a42130d0282eb81.zip |
keep raw changelogs to avoid changing the format (backport)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Youri/Submit/Action/Mail.pm | 4 | ||||
-rw-r--r-- | lib/Youri/Submit/Reject/Mail.pm | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/Youri/Submit/Action/Mail.pm b/lib/Youri/Submit/Action/Mail.pm index 6d9d0d8..adbddf7 100644 --- a/lib/Youri/Submit/Action/Mail.pm +++ b/lib/Youri/Submit/Action/Mail.pm @@ -116,9 +116,7 @@ sub get_content { return $information . "\n" . $last_change->[Youri::Package::CHANGE_AUTHOR] . ":\n" . - join( - '', map { "- $_\n" } @{$last_change->[Youri::Package::CHANGE_TEXT]} - ); + $last_change->[Youri::Package::CHANGE_TEXT]; } diff --git a/lib/Youri/Submit/Reject/Mail.pm b/lib/Youri/Submit/Reject/Mail.pm index c20a832..35889f7 100644 --- a/lib/Youri/Submit/Reject/Mail.pm +++ b/lib/Youri/Submit/Reject/Mail.pm @@ -62,7 +62,7 @@ sub run { my $information = $package->get_information(); my $last_change = $package->get_last_change(); my $author = $last_change->[Youri::Package::CHANGE_AUTHOR] if $last_change; - my $list = join('', map { "- $_\n" } @{$last_change->[Youri::Package::CHANGE_TEXT]}) if $last_change; + my $list = $last_change->[Youri::Package::CHANGE_TEXT] if $last_change; my $content = "Errors: \n\n" . join("\n", map { ( "* $_", (map { " - $_" } @{$errors->{$_}}), "\n"); |