[python2.6] do not import simplejson directly stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 06 May 2010 14:27:57 +0200
branchstable
changeset 5491 0a6e6fccfd30
parent 5490 b7b96b8decf1
child 5494 f3bb53f1737c
child 5495 ce836b665a65
[python2.6] do not import simplejson directly use indirect import through cubicweb.web
etwist/server.py
--- a/etwist/server.py	Thu May 06 12:57:49 2010 +0200
+++ b/etwist/server.py	Thu May 06 14:27:57 2010 +0200
@@ -38,7 +38,7 @@
 from twisted.web import static, resource
 from twisted.web.server import NOT_DONE_YET
 
-from simplejson import dumps
+from cubicweb.web import dumps
 
 from logilab.common.decorators import monkeypatch