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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
d4afa48c
Commit
d4afa48c
authored
Nov 19, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New ZODB uses zodbpickle instead of cPickle
parent
7b8d5045
Changes
2
Show 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 @@
...
@@ -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
Acquisition
import
aq_base
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
\
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
\
PropertyConstantGetter
PropertyConstantGetter
...
...
product/ERP5Type/tests/testERP5Type.py
View file @
d4afa48c
...
@@ -26,7 +26,10 @@
...
@@ -26,7 +26,10 @@
#
#
##############################################################################
##############################################################################
import
cPickle
try
:
from
ZODB._compat
import
cPickle
except
ImportError
:
# BBB: ZODB < 4
import
cPickle
import
unittest
import
unittest
import
sys
import
sys
...
...
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