You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by jg...@apache.org on 2005/10/23 00:26:59 UTC
svn commit: r327710 -
/httpd/mod_python/trunk/lib/python/mod_python/Session.py
Author: jgallacher
Date: Sat Oct 22 15:26:57 2005
New Revision: 327710
URL: http://svn.apache.org/viewcvs?rev=327710&view=rev
Log:
Removed duplicate definition for make_filesession_dirs. I'm not sure
how the duplicate code ended up in there, execpt that for just plain
sloppy coding on my part. Mea cupla.
Modified:
httpd/mod_python/trunk/lib/python/mod_python/Session.py
Modified: httpd/mod_python/trunk/lib/python/mod_python/Session.py
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/lib/python/mod_python/Session.py?rev=327710&r1=327709&r2=327710&view=diff
==============================================================================
--- httpd/mod_python/trunk/lib/python/mod_python/Session.py (original)
+++ httpd/mod_python/trunk/lib/python/mod_python/Session.py Sat Oct 22 15:26:57 2005
@@ -686,12 +686,6 @@
return sess(req, sid=sid, secret=secret,
timeout=timeout, lock=lock)
-def make_filesession_dirs(sess_dir):
- """Creates the directory structure used for storing session files"""
- for i in range(0,256):
- path = os.path.join(sess_dir, '%02x' % i)
- if not os.path.exists(path):
- os.makedirs(path, stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP)
## helper functions
def true_or_false(item):