From bf40cb8d33bd78a23b735c2d9e367cda849d0cf6 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Wed, 26 Nov 2014 07:14:43 +0400 Subject: [PATCH] cosmetic --- lib/pyulib/src/uapps/uxpath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pyulib/src/uapps/uxpath.py b/lib/pyulib/src/uapps/uxpath.py index 22deced..e29354b 100755 --- a/lib/pyulib/src/uapps/uxpath.py +++ b/lib/pyulib/src/uapps/uxpath.py @@ -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))