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
Kirill Smelkov
ZODB
Commits
fa02a025
Commit
fa02a025
authored
Jul 27, 2006
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fsrefs.py was reporting spurious 'missing' classes.
parent
118d3596
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
NEWS.txt
NEWS.txt
+2
-0
src/scripts/fsrefs.py
src/scripts/fsrefs.py
+1
-4
No files found.
NEWS.txt
View file @
fa02a025
...
...
@@ -153,6 +153,8 @@ PersistentMapping
Tools
-----
- (3.6.3) Fixed bug in 'fsrefs.py' which caused it to report erroneous
"missing" classes.
- (3.6b5) The changeover from zLOG to the logging module means that some
tools need to perform minimal logging configuration themselves. Changed
...
...
src/scripts/fsrefs.py
View file @
fa02a025
...
...
@@ -129,11 +129,8 @@ def main(path):
data
,
serial
=
fs
.
load
(
oid
,
""
)
refs
=
get_refs
(
data
)
missing
=
[]
# contains 3-tuples of oid, klass-metadata, reason
for
info
in
refs
:
ref
,
klass
=
info
for
ref
,
klass
in
refs
:
if
klass
is
None
:
# failed to unpack
ref
=
info
klass
=
'<unknown>'
if
ref
not
in
fs
.
_index
:
missing
.
append
((
ref
,
klass
,
"missing"
))
...
...
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