rev 9272 - people/modax/copyright-helper/trunk

Modestas Vainius modax-guest at alioth.debian.org
Mon Feb 4 12:22:10 UTC 2008


Author: modax-guest
Date: 2008-02-04 12:22:09 +0000 (Mon, 04 Feb 2008)
New Revision: 9272

Modified:
   people/modax/copyright-helper/trunk/CHCore.pm
   people/modax/copyright-helper/trunk/copyright-helper.pl
Log:
v0.3.3 Small bugfix

Modified: people/modax/copyright-helper/trunk/CHCore.pm
===================================================================
--- people/modax/copyright-helper/trunk/CHCore.pm	2008-02-04 12:15:19 UTC (rev 9271)
+++ people/modax/copyright-helper/trunk/CHCore.pm	2008-02-04 12:22:09 UTC (rev 9272)
@@ -163,7 +163,7 @@
 sub CHCore::File::toStringCopyrights($) {
     my $self = shift;
     my $copyrights = $self->{copyrights};
-    my $str .= "Copyright: ";
+    my $str = "Copyright: ";
 
     if (@$copyrights) {
         my $needsIndent = 0;
@@ -747,8 +747,8 @@
         for my $y (@$years) {
             $str .= "$y, ";
         }
+        $str = substr($str, 0, -2) . "\n";
     }
-    $str = substr($str, 0, -2) . "\n";
 
     return $str;
 }

Modified: people/modax/copyright-helper/trunk/copyright-helper.pl
===================================================================
--- people/modax/copyright-helper/trunk/copyright-helper.pl	2008-02-04 12:15:19 UTC (rev 9271)
+++ people/modax/copyright-helper/trunk/copyright-helper.pl	2008-02-04 12:22:09 UTC (rev 9272)
@@ -178,7 +178,7 @@
 }
 
 # Entry point
-${main::VERSION}='0.3.2';
+${main::VERSION}='0.3.3';
 print_msg "\n";
 print_msg "Copyright Helper v${main::VERSION}\n";
 print_msg "Extracts copyright and license information from source code\n\n";




More information about the pkg-kde-commits mailing list