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/08/10 00:26:41 UTC

svn commit: r231126 - /httpd/mod_python/trunk/lib/python/mod_python/Session.py

Author: jgallacher
Date: Tue Aug  9 15:26:38 2005
New Revision: 231126

URL: http://svn.apache.org/viewcvs?rev=231126&view=rev
Log:
Fixed a small error in filesession_cleanup. Not enough arguments for format
string in status_file.write() call. I thought I had fixed this previously
but the fix was not checked in.

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=231126&r1=231125&r2=231126&view=diff
==============================================================================
--- httpd/mod_python/trunk/lib/python/mod_python/Session.py (original)
+++ httpd/mod_python/trunk/lib/python/mod_python/Session.py Tue Aug  9 15:26:38 2005
@@ -505,8 +505,7 @@
     try:
         lockfp = os.open(lockfile, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0660) 
     except:
-        req.log_error('FileSession cleanup: another process is already running.'
-                        % (fast_cleanup,verify_cleanup),
+        req.log_error('FileSession cleanup: another process is already running.',
                         apache.APLOG_NOTICE)
         return
 
@@ -596,7 +595,7 @@
                         apache.APLOG_NOTICE)
 
         status_file = file(os.path.join(sessdir, 'fs_status.txt'), 'w')
-        status_file.write('%s %d %d %d %f %d\n' % (stat_version,next_i,expired_file_count,total_file_count, total_time))
+        status_file.write('%s %d %d %d %f\n' % (stat_version, next_i, expired_file_count, total_file_count, total_time))
         status_file.close()
    
         try: