1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

applied patch from Malcolm Tredinnick to avoid tabs in python sources,

* python/tests/*.py: applied patch from Malcolm Tredinnick
  to avoid tabs in python sources, should fix #135095
Daniel
This commit is contained in:
Daniel Veillard
2004-02-23 10:53:52 +00:00
parent 807daf8265
commit 09b792ba30
10 changed files with 59 additions and 54 deletions

View File

@@ -22,10 +22,10 @@ res=""
while reader.Read():
while reader.Name() == 'bibl':
node = reader.Expand() # expand the subtree
if node.xpathEval("@id = 'Aho'"): # use XPath on it
res = res + node.serialize()
if reader.Next() != 1: # skip the subtree
break;
if node.xpathEval("@id = 'Aho'"): # use XPath on it
res = res + node.serialize()
if reader.Next() != 1: # skip the subtree
break;
if res != expect:
print "Error: didn't get the expected output"