--- a/web/views/formrenderers.py Fri Apr 23 14:55:10 2010 +0200
+++ b/web/views/formrenderers.py Fri Apr 23 12:19:54 2010 +0200
@@ -25,15 +25,10 @@
from logilab.common import dictattr
from logilab.mtconverter import xml_escape
-try:
- from json import dumps
-except ImportError:
- from simplejson import dumps
-
from cubicweb import tags
from cubicweb.appobject import AppObject
from cubicweb.selectors import implements, yes
-from cubicweb.web import eid_param, formwidgets as fwdgs
+from cubicweb.web import dumps, eid_param, formwidgets as fwdgs
def checkbox(name, value, attrs='', checked=None):