[Erp5-report] r30056 - /erp5/trunk/utils/erp5diff/ERP5Diff.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 28 11:29:03 CET 2009
Author: nicolas
Date: Wed Oct 28 11:29:02 2009
New Revision: 30056
URL: http://svn.erp5.org?rev=30056&view=rev
Log:
aggregate text of sub nodes aswell
Modified:
erp5/trunk/utils/erp5diff/ERP5Diff.py
Modified: erp5/trunk/utils/erp5diff/ERP5Diff.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5diff/ERP5Diff.py?rev=30056&r1=30055&r2=30056&view=diff
==============================================================================
--- erp5/trunk/utils/erp5diff/ERP5Diff.py [utf8] (original)
+++ erp5/trunk/utils/erp5diff/ERP5Diff.py [utf8] Wed Oct 28 11:29:02 2009
@@ -348,7 +348,7 @@
"""
Aggregate child text nodes of an element into a single string.
"""
- return '%s' % element.xpath('string(text())')
+ return '%s' % element.xpath('string(.)')
def _removeStrictEqualsSubNodeList(self, old_list, new_list):
"""Remove inside list all elements which are similar
More information about the Erp5-report
mailing list