Fixed an issue with an unused module for Python 2.5 (flask.session)

This commit is contained in:
Armin Ronacher 2011-10-02 01:08:54 +02:00
parent 766522cb58
commit 0dd9dc37b6
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,10 @@ Version 0.8.1
Bugfix release, release date to be decided 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 Version 0.8
----------- -----------

View file

@ -13,7 +13,7 @@
from warnings import warn from warnings import warn
warn(DeprecationWarning('please use flask.sessions instead')) warn(DeprecationWarning('please use flask.sessions instead'))
from .sessions import * from .sessions import SecureCookieSession, NullSession
Session = SecureCookieSession Session = SecureCookieSession
_NullSession = NullSession _NullSession = NullSession