Commit e2146551 authored by Levin Zimmermann's avatar Levin Zimmermann

erp5_wendelin: Fix naming convention issue

parent c8d4edda
......@@ -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):
......@@ -66,6 +67,13 @@ class IngestionPolicyTool(Folder):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment