[Po4a-commits] po4a/lib/Locale/Po4a Sgml.pm,1.56,1.57

Martin Quinson po4a-devel@lists.alioth.debian.org
Wed, 25 May 2005 16:55:22 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv4170/lib/Locale/Po4a

Modified Files:
	Sgml.pm 
Log Message:
The debug option is a space separated list of channels to print information for. So we must split it to set $debug. [Francois Gouget]

Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- Sgml.pm	24 May 2005 20:48:59 -0000	1.56
+++ Sgml.pm	25 May 2005 16:55:20 -0000	1.57
@@ -217,7 +217,7 @@
 	}
     }
     if ($options{'debug'}) {
-	foreach ($options{'debug'}) {
+	foreach (split /\s+/, $options{'debug'}) {
 	    $debug{$_} = 1;
 	}
     }