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
d9192507
Commit
d9192507
authored
Feb 08, 2001
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When changing cache managers, the ref to the cache should be cleared.
parent
3d8a42f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lib/python/OFS/Cache.py
lib/python/OFS/Cache.py
+3
-2
No files found.
lib/python/OFS/Cache.py
View file @
d9192507
...
@@ -84,9 +84,9 @@
...
@@ -84,9 +84,9 @@
##############################################################################
##############################################################################
__doc__
=
"""Cacheable object and cache management base classes.
__doc__
=
"""Cacheable object and cache management base classes.
$Id: Cache.py,v 1.
5 2001/01/11 20:53:14 chrism
Exp $"""
$Id: Cache.py,v 1.
6 2001/02/08 15:24:16 shane
Exp $"""
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
import
time
,
sys
import
time
,
sys
from
string
import
join
from
string
import
join
...
@@ -388,6 +388,7 @@ class Cacheable:
...
@@ -388,6 +388,7 @@ class Cacheable:
else
:
else
:
manager_id
=
str
(
manager_id
)
manager_id
=
str
(
manager_id
)
self
.
__manager_id
=
manager_id
self
.
__manager_id
=
manager_id
self
.
_v_ZCacheable_cache
=
None
if
REQUEST
is
not
None
:
if
REQUEST
is
not
None
:
return
self
.
ZCacheable_manage
(
return
self
.
ZCacheable_manage
(
self
,
REQUEST
,
management_view
=
'Cache'
,
self
,
REQUEST
,
management_view
=
'Cache'
,
...
...
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