[json] restore 2.5 compat
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 28 Sep 2011 08:16:10 +0200
changeset 7877 662ad647306f
parent 7876 df15d194a134
child 7878 dcdccb495e78
[json] restore 2.5 compat
web/views/json.py
--- a/web/views/json.py	Tue Sep 27 18:47:11 2011 +0200
+++ b/web/views/json.py	Wed Sep 28 08:16:10 2011 +0200
@@ -17,6 +17,8 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """json export views"""
 
+from __future__ import with_statement
+
 __docformat__ = "restructuredtext en"
 _ = unicode