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
139
Merge Requests
139
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
d4afa48c
Commit
d4afa48c
authored
Nov 19, 2016
by
Julien Muchembled
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New ZODB uses zodbpickle instead of cPickle
parent
7b8d5045
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
product/ERP5Type/mixin/temporary.py
product/ERP5Type/mixin/temporary.py
+5
-1
product/ERP5Type/tests/testERP5Type.py
product/ERP5Type/tests/testERP5Type.py
+4
-1
No files found.
product/ERP5Type/mixin/temporary.py
View file @
d4afa48c
...
...
@@ -26,7 +26,11 @@
#
##############################################################################
from
cPickle
import
PicklingError
try
:
from
ZODB._compat
import
cPickle
PicklingError
=
cPickle
.
PicklingError
except
ImportError
:
# BBB: ZODB < 4
from
cPickle
import
PicklingError
from
Acquisition
import
aq_base
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
\
PropertyConstantGetter
...
...
product/ERP5Type/tests/testERP5Type.py
View file @
d4afa48c
...
...
@@ -26,7 +26,10 @@
#
##############################################################################
import
cPickle
try
:
from
ZODB._compat
import
cPickle
except
ImportError
:
# BBB: ZODB < 4
import
cPickle
import
unittest
import
sys
...
...
Julien Muchembled
@jm
mentioned in merge request
slapos!119 (merged)
·
Nov 29, 2016
mentioned in merge request
slapos!119 (merged)
mentioned in merge request nexedi/slapos!119
Toggle commit list
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