From 0dd9dc37b6618b8091c2a0f849f5f3143dc6eafc Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 2 Oct 2011 01:08:54 +0200 Subject: [PATCH] Fixed an issue with an unused module for Python 2.5 (flask.session) --- CHANGES | 4 ++++ flask/session.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ba50d0d9..7640ac21 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,10 @@ Version 0.8.1 Bugfix release, release date to be decided +- Fixed an issue with the undocumented `flask.session` module to not + work properly on Python 2.5. It should not be used but did cause + some problems for package managers. + Version 0.8 ----------- diff --git a/flask/session.py b/flask/session.py index 4d4d2cd6..1a43fdc1 100644 --- a/flask/session.py +++ b/flask/session.py @@ -13,7 +13,7 @@ from warnings import warn warn(DeprecationWarning('please use flask.sessions instead')) -from .sessions import * +from .sessions import SecureCookieSession, NullSession Session = SecureCookieSession _NullSession = NullSession