author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 25 Oct 2010 10:18:10 +0200 | |
changeset 6614 | 4b9a785df0f7 |
parent 6613 | e7ff604491b2 |
child 6615 | 9807fb5d5f8d |
web/__init__.py | file | annotate | diff | comparison | revisions |
--- a/web/__init__.py Mon Oct 25 10:15:47 2010 +0200 +++ b/web/__init__.py Mon Oct 25 10:18:10 2010 +0200 @@ -30,7 +30,9 @@ from cubicweb.utils import json_dumps from cubicweb.uilib import eid_param -dumps = deprecated('[3.9] use cubicweb.utils.json_dumps instead of dumps')(json_dumps) +assert json_dumps is not None, 'no json module installed' +dumps = deprecated('[3.9] use cubicweb.utils.json_dumps instead of dumps')( + json_dumps) INTERNAL_FIELD_VALUE = '__cubicweb_internal_field__'