[Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.87,1.88"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Tue Feb 10 20:43:51 UTC 2009


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv22156/lib/Locale/Po4a

Modified Files:
	Xml.pm 
Log Message:
	* lib/Locale/Po4a/Xml.pm: Reset @path in initialize(). This is
	needed when po4a is used with multiple files which leave an
	unclean path.


Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- Xml.pm	30 Jan 2009 22:04:55 -0000	1.87
+++ Xml.pm	10 Feb 2009 20:43:49 -0000	1.88
@@ -328,6 +328,9 @@
 	my $self = shift;
 	my %options = @_;
 
+	# Reset the path
+	@path = ();
+
 	# Initialize the stack of holders
 	my @paragraph = ();
 	my @sub_translations = ();




More information about the Po4a-commits mailing list