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
174faef1
Commit
174faef1
authored
Dec 12, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug 1782: keyerror due to cache sync
parent
2937dcfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+4
-3
No files found.
lib/python/Shared/DC/ZRDB/DA.py
View file @
174faef1
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
__doc__
=
'''Generic Database adapter
__doc__
=
'''Generic Database adapter
$Id: DA.py,v 1.9
1 2000/09/13 13:48:47
brian Exp $'''
$Id: DA.py,v 1.9
2 2000/12/12 15:36:03
brian Exp $'''
__version__
=
'$Revision: 1.9
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.9
2
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
import
OFS.SimpleItem
,
Aqueduct
,
RDB
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
...
@@ -389,7 +389,8 @@ class DA(
...
@@ -389,7 +389,8 @@ class DA(
key
=
keys
[
-
1
]
key
=
keys
[
-
1
]
q
=
tcache
[
key
]
q
=
tcache
[
key
]
del
tcache
[
key
]
del
tcache
[
key
]
del
cache
[
q
]
if
int
(
cache
[
q
][
0
])
==
key
:
del
cache
[
q
]
del
keys
[
-
1
]
del
keys
[
-
1
]
if
cache
.
has_key
(
query
):
if
cache
.
has_key
(
query
):
...
...
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