]> git.donarmstrong.com Git - debbugs.git/commitdiff
* trim off trailing spaces in summary
authorDon Armstrong <don@donarmstrong.com>
Tue, 12 Aug 2008 18:40:59 +0000 (11:40 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 12 Aug 2008 18:40:59 +0000 (11:40 -0700)
Debbugs/Control.pm

index 418efede8277d4fa2cf32d5b68f0562c9efe7969..a6e6b24af8e8c271858042bfc5ef9a8fb49af98c 100644 (file)
@@ -501,6 +501,8 @@ sub summary {
         if (not length $summary) {
              die "Unable to find summary message to use";
         }
+        # trim off a trailing space
+        $summary =~ s/\ $//;
     }
     for my $data (@data) {
         print {$debug} "Going to change summary";