[Po4a-commits] "po4a po4a,1.96,1.97 po4a-translate,1.43,1.44"

Denis Barbier barbier-guest at alioth.debian.org
Thu Jan 21 22:45:57 UTC 2010


Update of /cvsroot/po4a/po4a
In directory alioth:/tmp/cvs-serv22532

Modified Files:
	po4a po4a-translate 
Log Message:
Remove trailing whitespace when reading addendum with @ modifier


Index: po4a-translate
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-translate,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- po4a-translate	20 Jan 2010 23:17:00 -0000	1.43
+++ po4a-translate	21 Jan 2010 22:45:55 -0000	1.44
@@ -263,6 +263,7 @@
 		my @new_list = ();
 		while(<LIST>) {
 		    chomp;
+		    s/\s+$//;
 		    next if length($_) == 0 or $_ =~ m/^\s*#/;
 		    push(@new_list, $_);
 		}

Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- po4a	20 Jan 2010 23:17:00 -0000	1.96
+++ po4a	21 Jan 2010 22:45:55 -0000	1.97
@@ -866,6 +866,7 @@
 			my @new_list = ();
 			while(<LIST>) {
 			    chomp;
+			    s/\s+$//;
 			    next if length($_) == 0 or $_ =~ m/^\s*#/;
 			    push(@new_list, "$lang:$_");
 			}




More information about the Po4a-commits mailing list