Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
3d475e0d
Commit
3d475e0d
authored
Sep 28, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn comment into docstring
parent
dbe9fb5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
src/ZODB/tests/StorageTestBase.py
src/ZODB/tests/StorageTestBase.py
+9
-7
No files found.
src/ZODB/tests/StorageTestBase.py
View file @
3d475e0d
...
@@ -85,13 +85,15 @@ class StorageTestBase(unittest.TestCase):
...
@@ -85,13 +85,15 @@ class StorageTestBase(unittest.TestCase):
def
_dostore
(
self
,
oid
=
None
,
revid
=
None
,
data
=
None
,
version
=
None
,
def
_dostore
(
self
,
oid
=
None
,
revid
=
None
,
data
=
None
,
version
=
None
,
already_pickled
=
0
):
already_pickled
=
0
):
# Do a complete storage transaction. The defaults are:
"""Do a complete storage transaction. The defaults are:
# - oid=None, ask the storage for a new oid
# - revid=None, use a revid of ZERO
- oid=None, ask the storage for a new oid
# - data=None, pickle up some arbitrary data (the integer 7)
- revid=None, use a revid of ZERO
# - version=None, use the empty string version
- data=None, pickle up some arbitrary data (the integer 7)
#
- version=None, use the empty string version
# Returns the object's new revision id
Returns the object's new revision id.
"""
if
oid
is
None
:
if
oid
is
None
:
oid
=
self
.
_storage
.
new_oid
()
oid
=
self
.
_storage
.
new_oid
()
if
revid
is
None
:
if
revid
is
None
:
...
...
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