From: Fredrik Tolf Date: Wed, 8 Aug 2012 06:59:27 +0000 (+0200) Subject: Inserted __future__ import of with_statement to be Jython (that is, 2.5) compatible. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=1f9d8560d3b425e3a3883876da0117e755911dd7;p=wrw.git Inserted __future__ import of with_statement to be Jython (that is, 2.5) compatible. --- diff --git a/wrw/session.py b/wrw/session.py index 43b9087..24d89d7 100644 --- a/wrw/session.py +++ b/wrw/session.py @@ -1,3 +1,4 @@ +from __future__ import with_statement import threading, time, pickle, random, os import cookie, env diff --git a/wrw/util.py b/wrw/util.py index 5ee002b..7276607 100644 --- a/wrw/util.py +++ b/wrw/util.py @@ -1,3 +1,4 @@ +from __future__ import with_statement import inspect import req, dispatch, session, form diff --git a/wrw/wmako.py b/wrw/wmako.py index 491d8b3..86bc201 100644 --- a/wrw/wmako.py +++ b/wrw/wmako.py @@ -1,3 +1,4 @@ +from __future__ import with_statement import os, threading from mako import template, lookup, filters import util, form, session, env