Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
778cebb8
Commit
778cebb8
authored
Nov 07, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed call to NameCaller.
parent
6210dd44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
lib/python/Products/Sessions/SessionDataManager.py
lib/python/Products/Sessions/SessionDataManager.py
+3
-6
No files found.
lib/python/Products/Sessions/SessionDataManager.py
View file @
778cebb8
...
...
@@ -89,7 +89,7 @@ import SessionInterfaces
from
SessionPermissions
import
*
from
common
import
DEBUG
from
ZPublisher.BeforeTraverse
import
registerBeforeTraverse
,
\
unregisterBeforeTraverse
,
NameCaller
unregisterBeforeTraverse
import
traceback
BID_MGR_NAME
=
'browser_id_manager'
...
...
@@ -304,9 +304,7 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
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 @@ class SessionDataManagerTraverser(NameCaller):
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 @@ class SessionDataManagerTraverser(NameCaller):
if self._requestSessionName is not None:
request.set_lazy(self._requestSessionName, session)
NameCaller.__call__(self, container, request)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment