summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/forkpool.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-07-01 11:38:29 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-07-01 11:38:29 +0200
commitb0938bb51c915ea5d888e2e88bbb62f4d1da199c (patch)
tree01fd6d2da9b8a0aebedbb1297e39c7cfd9b55d68 /wsgitools/scgi/forkpool.py
parent85a4d0c404c767460887eafe5e7aa2511f70bad6 (diff)
downloadwsgitools-b0938bb51c915ea5d888e2e88bbb62f4d1da199c.tar.gz
make HtdigestTokenGenerator work with py3k
Define a textopen function that returns "native strings" (in the sense of pep3333). Therefore textopen needs to decode using iso-8859-1 iff running on py3k. Additionally use a with construct to close the file being read in all circumstances.
Diffstat (limited to 'wsgitools/scgi/forkpool.py')
0 files changed, 0 insertions, 0 deletions