Hello,
i run into an error after switching from werkzeug 0.5.1 to 0.6.:
session_store = FilesystemSessionStore()
File "/usr/lib/python2.5/site-packages/werkzeug/contrib/sessions.py",
line 218, in __init__
path = gettempdir()
NameError: global name 'gettempdir' is not defined
This seems to be a bug caused by this change:
http://dev.pocoo.org/projects/werkzeug/changeset/957%3A14ee9d825cc8/werkzeug/contrib/sessions.py
where line 192:
from tempfile import gettempdir
has been removed and:
import tempfile
has been added to the top of the file (line 56). when i restore the
removed line, it works.
regards,
thomas
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.