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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
80e44ec5
Commit
80e44ec5
authored
Aug 28, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that the 'last' argument to new_oid() is not part of the
public API.
parent
b73f515d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZODB/BaseStorage.py
src/ZODB/BaseStorage.py
+2
-1
No files found.
src/ZODB/BaseStorage.py
View file @
80e44ec5
...
...
@@ -15,7 +15,7 @@
"""
# Do this portably in the face of checking out with -kv
import
string
__version__
=
string
.
split
(
'$Revision: 1.2
0
$'
)[
-
2
:][
0
]
__version__
=
string
.
split
(
'$Revision: 1.2
1
$'
)[
-
2
:][
0
]
import
ThreadLock
,
bpthread
import
time
,
UndoLogCompatible
...
...
@@ -75,6 +75,7 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible):
return
''
def
new_oid
(
self
,
last
=
None
):
# 'last' is only for internal use, not part of the public API
if
self
.
_is_read_only
:
raise
POSException
.
ReadOnlyError
()
if
last
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