Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
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
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
wendelin
Commits
e2146551
Commit
e2146551
authored
Jun 14, 2022
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_wendelin: Fix naming convention issue
parent
c8d4edda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.IngestionPolicyTool.py
...em/portal_components/document.erp5.IngestionPolicyTool.py
+9
-1
No files found.
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.IngestionPolicyTool.py
View file @
e2146551
...
...
@@ -30,6 +30,7 @@ from AccessControl import ClassSecurityInfo
from
Products.ERP5Type.Core.Folder
import
Folder
from
cStringIO
import
StringIO
import
msgpack
from
warnings
import
warn
class
IngestionPolicyTool
(
Folder
):
...
...
@@ -64,8 +65,15 @@ class IngestionPolicyTool(Folder):
# we need pure primitive list so we avoid zope security in restricted
# script environment, but we loose lazyness
return
[
x
for
x
in
msgpack_list
]
def
unpack_lazy
(
self
,
data
,
use_list
=
True
):
warn
(
"Method 'unpack_lazy' is deprecated. Please use 'unpackLazy' instead."
,
DeprecationWarning
)
return
self
.
unpack_lazy
(
data
,
use_list
=
use_list
)
def
unpackLazy
(
self
,
data
,
use_list
=
True
):
"""
Lazy unpack data, usable in restructed environment
Setting use_list=False uses tuples instead of lists which is faster
...
...
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