[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Application.py Merged r69765:69766 from 2.9 branch.

Stefan H. Holek stefan at epy.co.at
Thu Aug 24 11:22:39 EDT 2006


Log message for revision 69768:
  Merged r69765:69766 from 2.9 branch.
  
  Specifying session-resolution-seconds >= 1200 caused Zope startup to fail.
  Fixes http://www.zope.org/Collectors/Zope/1983
  

Changed:
  U   Zope/trunk/lib/python/OFS/Application.py

-=-
Modified: Zope/trunk/lib/python/OFS/Application.py
===================================================================
--- Zope/trunk/lib/python/OFS/Application.py	2006-08-24 15:20:56 UTC (rev 69767)
+++ Zope/trunk/lib/python/OFS/Application.py	2006-08-24 15:22:38 UTC (rev 69768)
@@ -426,14 +426,7 @@
                          'session-delete-notify-script-path' % delnotify)
                 delnotify=None
 
-            toc = TransientObjectContainer(
-                'session_data', 'Session Data Container',
-                addNotification = addnotify,
-                delNotification = delnotify,
-                limit=limit,
-                period_secs=period_spec)
-
-            if timeout_spec is not None:
+            if 1:  # Preserve indentation for diff
                 toc = TransientObjectContainer('session_data',
                                                'Session Data Container',
                                                timeout_mins = timeout_spec,



More information about the Zope-Checkins mailing list