cosmetic
This commit is contained in:
parent
13b97d61d2
commit
bf40cb8d33
|
@ -34,10 +34,10 @@ def dumprs(rs):
|
|||
for r in rs: dumprs(r)
|
||||
elif isinstance(rs, minidom.Element):
|
||||
print rs.toxml("utf-8")
|
||||
elif isinstance(rs, minidom.Text):
|
||||
print rs.data.encode("utf-8")
|
||||
elif isinstance(rs, minidom.Attr):
|
||||
print rs.value.encode("utf-8")
|
||||
elif isinstance(rs, minidom.Text):
|
||||
print rs.data.encode("utf-8")
|
||||
else:
|
||||
die("type non géré: %s (%s)" % (str(rs), tr))
|
||||
|
||||
|
|
Loading…
Reference in New Issue