summaryrefslogtreecommitdiffstats
path: root/server/xmlparser.py
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-07-30 15:33:41 +0200
committerDavid Sommerseth <davids@redhat.com>2009-07-30 15:33:41 +0200
commitb4501eeeb2b76da159d866c8b7865f63e8d6f126 (patch)
tree798720e507848f6389ec99b58a15fb95cd860d7f /server/xmlparser.py
parent006dd27ce58da9ba53cbdd4218c64036c1c45b9f (diff)
xmlparser: Don't include the <value/> tag when processing xmlblobs
Diffstat (limited to 'server/xmlparser.py')
-rw-r--r--server/xmlparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/xmlparser.py b/server/xmlparser.py
index 8d9022a..b63870a 100644
--- a/server/xmlparser.py
+++ b/server/xmlparser.py
@@ -103,7 +103,7 @@ class XMLSQLparser(object):
rvs = {}
for v in r.xpathEval('value'):
if v.prop('type') == 'xmlblob':
- fieldval = self.__xmlNode2string(v)
+ fieldval = self.__xmlNode2string(v.children)
elif v.prop('isnull') == '1':
fieldval = None
else: