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
308d4c2a
Commit
308d4c2a
authored
Feb 03, 2005
by
Dmitry Vasiliev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminated unused md5 digest
parent
dd54f185
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/ZODB/FileStorage/fsdump.py
src/ZODB/FileStorage/fsdump.py
+5
-6
No files found.
src/ZODB/FileStorage/fsdump.py
View file @
308d4c2a
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
# FOR A PARTICULAR PURPOSE.
# FOR A PARTICULAR PURPOSE.
#
#
##############################################################################
##############################################################################
import
md5
import
struct
import
struct
from
ZODB.FileStorage
import
FileIterator
from
ZODB.FileStorage
import
FileIterator
...
@@ -39,8 +38,8 @@ def fsdump(path, file=None, with_offset=1):
...
@@ -39,8 +38,8 @@ def fsdump(path, file=None, with_offset=1):
fullclass
=
"undo or abort of object creation"
fullclass
=
"undo or abort of object creation"
else
:
else
:
modname
,
classname
=
get_pickle_metadata
(
rec
.
data
)
modname
,
classname
=
get_pickle_metadata
(
rec
.
data
)
dig
=
md5
.
new
(
rec
.
data
).
hexdigest
()
fullclass
=
"%s.%s"
%
(
modname
,
classname
)
fullclass
=
"%s.%s"
%
(
modname
,
classname
)
# FIXME: Is this used?
# special case for testing purposes
# special case for testing purposes
if
fullclass
==
"ZODB.tests.MinPO.MinPO"
:
if
fullclass
==
"ZODB.tests.MinPO.MinPO"
:
obj
=
zodb_unpickle
(
rec
.
data
)
obj
=
zodb_unpickle
(
rec
.
data
)
...
...
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