[Zope-CVS] CVS: Products/Sessions - SessionDataManager.py:1.7
Chris McDonough
chrism@zope.com
Wed, 7 Nov 2001 18:39:54 -0500
Update of /cvs-repository/Products/Sessions
In directory cvs.zope.org:/tmp/cvs-serv13358
Modified Files:
SessionDataManager.py
Log Message:
Removed call to NameCaller.
=== Products/Sessions/SessionDataManager.py 1.6 => 1.7 ===
from common import DEBUG
from ZPublisher.BeforeTraverse import registerBeforeTraverse, \
- unregisterBeforeTraverse, NameCaller
+ unregisterBeforeTraverse
import traceback
BID_MGR_NAME = 'browser_id_manager'
@@ -304,9 +304,7 @@
self._hasTraversalHook = 1
self._requestSessionName = requestSessionName
-class SessionDataManagerTraverser(NameCaller):
- meta_type = "Session ID Insertion Traversal Rule"
-
+class SessionDataManagerTraverser:
def __init__(self, requestSessionName, sdm):
self._requestSessionName = requestSessionName
self._sessionDataManager = sdm
@@ -321,7 +319,7 @@
except:
errors = getattr(self,"_v_errors", 0)
if errors < 4:
- LOG('Session Tracking', WARNING, 'Session automatic traversal '
+ LOG('Session Tracking', WARNING,'Session automatic traversal '
'failed to get session data', error=sys.exc_info())
if errors == 3:
LOG('Session Tracking', WARNING, 'Suppressing further '
@@ -331,4 +329,3 @@
if self._requestSessionName is not None:
request.set_lazy(self._requestSessionName, session)
- NameCaller.__call__(self, container, request)