diff -r a33402c1aa79 -r 0e3ae19b181a web/views/tableview.py
--- a/web/views/tableview.py Thu Jul 08 12:54:28 2010 +0200
+++ b/web/views/tableview.py Thu Jul 08 13:33:40 2010 +0200
@@ -16,17 +16,13 @@
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see .
"""generic table view, including filtering abilities"""
+
__docformat__ = "restructuredtext en"
-try:
- from json import dumps
-except ImportError:
- from simplejson import dumps
-
from logilab.mtconverter import xml_escape
from cubicweb.selectors import nonempty_rset, match_form_params
-from cubicweb.utils import make_uid
+from cubicweb.utils import make_uid, json_dumps
from cubicweb.view import EntityView, AnyRsetView
from cubicweb import tags
from cubicweb.uilib import toggle_action, limitsize, htmlescape
@@ -77,7 +73,7 @@
# drop False / None values from vidargs
vidargs = dict((k, v) for k, v in vidargs.iteritems() if v)
w(u'