Skip to content

Commit

Permalink
eliminate extra newline in missing YAML message
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Apr 13, 2013
1 parent 4037039 commit c999f72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/CPAN/FTP.pm
Expand Up @@ -48,6 +48,7 @@ sub _ftp_statistics {
if ($@) {
if (ref $@) {
if (ref $@ eq "CPAN::Exception::yaml_not_installed") {
chomp $@;
$CPAN::Frontend->myprintonce("Warning (usually harmless): $@\n");
return;
} elsif (ref $@ eq "CPAN::Exception::yaml_process_error") {
Expand Down

0 comments on commit c999f72

Please sign in to comment.