Browse Source

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

pull/319/merge
Armin Ronacher 13 years ago
parent
commit
0dd9dc37b6
  1. 4
      CHANGES
  2. 2
      flask/session.py

4
CHANGES

@ -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
----------- -----------

2
flask/session.py

@ -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

Loading…
Cancel
Save