Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
144
Merge Requests
144
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
8535f180
Commit
8535f180
authored
3 years ago
by
Aurel
Committed by
Jérome Perrin
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVCC adapter use less args for load
parent
4b6baf05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
product/ERP5Type/dynamic/persistent_migration.py
product/ERP5Type/dynamic/persistent_migration.py
+5
-1
No files found.
product/ERP5Type/dynamic/persistent_migration.py
View file @
8535f180
...
@@ -103,7 +103,11 @@ class PickleUpdater(ObjectReader, ObjectWriter, object):
...
@@ -103,7 +103,11 @@ class PickleUpdater(ObjectReader, ObjectWriter, object):
self
.
lazy
=
LazyBTree
()
self
.
lazy
=
LazyBTree
()
self
.
oid_dict
=
{}
self
.
oid_dict
=
{}
self
.
oid_set
=
set
()
self
.
oid_set
=
set
()
p
,
serial
=
self
.
_conn
.
_storage
.
load
(
oid
,
''
)
try
:
p
,
serial
=
self
.
_conn
.
_storage
.
load
(
oid
,
''
)
except
TypeError
:
# MVCCAdapter of ZODB5
p
,
serial
=
self
.
_conn
.
_storage
.
load
(
oid
)
unpickler
=
self
.
_get_unpickler
(
p
)
unpickler
=
self
.
_get_unpickler
(
p
)
def
find_global
(
*
args
):
def
find_global
(
*
args
):
self
.
do_migrate
=
args
!=
(
klass
.
__module__
,
klass
.
__name__
)
and
\
self
.
do_migrate
=
args
!=
(
klass
.
__module__
,
klass
.
__name__
)
and
\
...
...
This diff is collapsed.
Click to expand it.
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