diff -r 9167751463d4 -r 809d3b5b3d31 web/views/treeview.py --- a/web/views/treeview.py Fri Apr 23 14:55:10 2010 +0200 +++ b/web/views/treeview.py Fri Apr 23 12:19:54 2010 +0200 @@ -7,16 +7,12 @@ """ __docformat__ = "restructuredtext en" -try: - import json -except ImportError: - import simplejson as json - from logilab.mtconverter import xml_escape from cubicweb.utils import make_uid from cubicweb.interfaces import ITree from cubicweb.selectors import implements from cubicweb.view import EntityView +from cubicweb.web import json def treecookiename(treeid): return str('%s-treestate' % treeid)