--- a/web/request.py Fri Apr 23 14:55:10 2010 +0200
+++ b/web/request.py Fri Apr 23 12:19:54 2010 +0200
@@ -16,11 +16,6 @@
from urlparse import urlsplit
from itertools import count
-try:
- from json import dumps
-except ImportError:
- from simplejson import dumps
-
from rql.utils import rqlvar_maker
from logilab.common.decorators import cached
@@ -33,7 +28,8 @@
from cubicweb.utils import SizeConstrainedList, HTMLHead, make_uid
from cubicweb.view import STRICT_DOCTYPE, TRANSITIONAL_DOCTYPE_NOEXT
from cubicweb.web import (INTERNAL_FIELD_VALUE, LOGGER, NothingToEdit,
- RequestError, StatusResponse)
+ RequestError, StatusResponse, json)
+dumps = json.dumps
_MARKER = object()