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
acf11ecf
Commit
acf11ecf
authored
Aug 21, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_check_drec(): Made oid2name logic more obvious.
parent
c7f3c067
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/ZODB/FileStorage/fsoids.py
src/ZODB/FileStorage/fsoids.py
+1
-3
No files found.
src/ZODB/FileStorage/fsoids.py
View file @
acf11ecf
...
...
@@ -153,6 +153,7 @@ class Tracer(object):
"at"
,
drec
.
pos
)
result
=
True
self
.
oids
[
oid
]
+=
1
self
.
oid2name
[
oid
]
=
oidclass
for
ref
,
klass
in
get_refs
(
pick
):
if
klass
is
None
:
...
...
@@ -172,9 +173,6 @@ class Tracer(object):
"at"
,
pos
)
result
=
True
if
oidclass
is
not
None
:
self
.
oid2name
[
oid
]
=
oidclass
elif
oid
in
self
.
oids
:
# Or maybe it's a version abort.
self
.
_msg
(
oid
,
tid
,
"creation undo at"
,
pos
)
...
...
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