Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
bd8bd0fd
Commit
bd8bd0fd
authored
Mar 11, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair comment.
parent
0f50675e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/MappingStorage.py
src/ZODB/MappingStorage.py
+2
-2
No files found.
src/ZODB/MappingStorage.py
View file @
bd8bd0fd
...
@@ -21,7 +21,7 @@ It is meant to illustrate the simplest possible storage.
...
@@ -21,7 +21,7 @@ It is meant to illustrate the simplest possible storage.
The Mapping storage uses a single data structure to map object ids to data.
The Mapping storage uses a single data structure to map object ids to data.
"""
"""
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
from
ZODB
import
utils
from
ZODB
import
utils
from
ZODB
import
BaseStorage
from
ZODB
import
BaseStorage
...
@@ -64,7 +64,7 @@ class MappingStorage(BaseStorage.BaseStorage):
...
@@ -64,7 +64,7 @@ class MappingStorage(BaseStorage.BaseStorage):
# Since this storage doesn't support versions, tid and
# Since this storage doesn't support versions, tid and
# serial will always be the same.
# serial will always be the same.
p
=
self
.
_index
[
oid
]
p
=
self
.
_index
[
oid
]
return
p
[
8
:],
p
[:
8
],
""
# pickle,
serial, tid
return
p
[
8
:],
p
[:
8
],
""
# pickle,
tid, version
finally
:
finally
:
self
.
_lock_release
()
self
.
_lock_release
()
...
...
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