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
7dae640f
Commit
7dae640f
authored
Oct 23, 2001
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Transience & help to match
parent
281a9194
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
250 additions
and
1295 deletions
+250
-1295
lib/python/Products/Transience/Transience.py
lib/python/Products/Transience/Transience.py
+9
-6
lib/python/Products/Transience/help/Transience.stx
lib/python/Products/Transience/help/Transience.stx
+241
-1289
No files found.
lib/python/Products/Transience/Transience.py
View file @
7dae640f
...
...
@@ -85,10 +85,10 @@
"""
Core session tracking SessionData class.
$Id: Transience.py,v 1.
6 2001/10/23 19:47:0
7 matt Exp $
$Id: Transience.py,v 1.
7 2001/10/23 20:29:2
7 matt Exp $
"""
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
import
Globals
from
Globals
import
HTMLFile
,
MessageDialog
...
...
@@ -658,11 +658,14 @@ class TransientObject(Persistent, Implicit):
def
items
(
self
):
return
self
.
_container
.
items
()
def
get
(
self
,
k
,
default
=
None
):
return
self
.
_container
.
get
(
k
,
default
)
def
get
(
self
,
k
,
default
=
_notfound
):
v
=
self
.
_container
.
get
(
k
,
default
)
if
v
is
_notfound
:
raise
KeyError
,
k
return
v
def
has_key
(
self
,
k
,
marker
=
_notfound
):
if
self
.
_container
.
get
(
k
,
marker
)
is
not
_notfound
:
return
1
def
has_key
(
self
,
k
):
if
self
.
_container
.
get
(
k
,
_notfound
)
is
not
_notfound
:
return
1
return
0
def
clear
(
self
):
self
.
_container
.
clear
()
...
...
lib/python/Products/Transience/help/Transience.stx
View file @
7dae640f
This diff is collapsed.
Click to expand it.
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