[views] import json instead of simplejson
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 10 Jul 2015 09:39:59 +0200
changeset 27 ed66da7eb9f8
parent 26 c837c517350d
child 28 de00c758e9ca
child 30 0f44d0b3152e
[views] import json instead of simplejson It's in the standard library since py26.
views/treeview.py
--- a/views/treeview.py	Tue Nov 25 11:01:57 2014 +0100
+++ b/views/treeview.py	Fri Jul 10 09:39:59 2015 +0200
@@ -19,14 +19,14 @@
 __docformat__ = "restructuredtext en"
 _ = unicode
 
+import json
+
 from logilab.mtconverter import xml_escape
 
 from cubicweb.predicates import is_instance, match_kwargs, adaptable
 from cubicweb.web.views import baseviews, treeview
 from cubicweb.uilib import cut
 
-import simplejson as json
-
 class TVTreeViewItemView(treeview.TreeViewItemView):
 
     def _is_leaf(self, itree):