summaryrefslogtreecommitdiff
path: root/addons/web/common/xml2json.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-01-17 10:35:48 +0100
committerXavier Morel <xmo@openerp.com>2012-01-17 10:35:48 +0100
commite4697c48a1373837890a2f7dabb82cffe98cb7f0 (patch)
tree59be519f0f7253c1ccff927038e38b6768270c16 /addons/web/common/xml2json.py
parent20e0358e9ce18ab27d6ea7e57a29f32d60eb793d (diff)
parent4d208734ec79a5d2fc8e9a3c4507c517d19fb8e2 (diff)
[IMP] cleanup code and missing imports
bzr revid: xmo@openerp.com-20120117093548-ict3fbm3pgw83fkb
Diffstat (limited to 'addons/web/common/xml2json.py')
-rw-r--r--addons/web/common/xml2json.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/common/xml2json.py b/addons/web/common/xml2json.py
index 1f2e74691b9..ab134b09786 100644
--- a/addons/web/common/xml2json.py
+++ b/addons/web/common/xml2json.py
@@ -3,6 +3,8 @@
# New BSD Licensed
#
# URL: http://code.google.com/p/xml2json-direct/
+import simplejson
+from xml.etree import ElementTree
class Xml2Json(object):
@staticmethod