From 1f9d8560d3b425e3a3883876da0117e755911dd7 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Wed, 8 Aug 2012 08:59:27 +0200 Subject: [PATCH] Inserted __future__ import of with_statement to be Jython (that is, 2.5) compatible. --- wrw/session.py | 1 + wrw/util.py | 1 + wrw/wmako.py | 1 + 3 files changed, 3 insertions(+) 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 -- 2.11.0