Commit 11c75e57 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Typos fixed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26547 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 66870cbf
...@@ -49,7 +49,7 @@ class SetSetter(BaseSetter): ...@@ -49,7 +49,7 @@ class SetSetter(BaseSetter):
def __call__(self, instance, *args, **kw): def __call__(self, instance, *args, **kw):
if self._warning: if self._warning:
LOG("ERP5Type Deprecated Getter Id:",0, self._id) LOG("ERP5Type Deprecated Setter Id:",0, self._id)
instance._setValue(self._key, args[0], instance._setValue(self._key, args[0],
spec=kw.get('spec',()), spec=kw.get('spec',()),
filter=kw.get('filter', None), filter=kw.get('filter', None),
...@@ -73,7 +73,7 @@ class ListSetter(SetSetter): ...@@ -73,7 +73,7 @@ class ListSetter(SetSetter):
def __call__(self, instance, *args, **kw): def __call__(self, instance, *args, **kw):
if self._warning: if self._warning:
LOG("ERP5Type Deprecated Getter Id:",0, self._id) LOG("ERP5Type Deprecated Setter Id:",0, self._id)
instance._setValue(self._key, args[0], instance._setValue(self._key, args[0],
spec=kw.get('spec',()), spec=kw.get('spec',()),
filter=kw.get('filter', None), filter=kw.get('filter', None),
...@@ -99,7 +99,7 @@ class DefaultSetter(SetSetter): ...@@ -99,7 +99,7 @@ class DefaultSetter(SetSetter):
def __call__(self, instance, *args, **kw): def __call__(self, instance, *args, **kw):
if self._warning: if self._warning:
LOG("ERP5Type Deprecated Getter Id:",0, self._id) LOG("ERP5Type Deprecated Setter Id:",0, self._id)
instance._setDefaultValue(self._key, args[0], instance._setDefaultValue(self._key, args[0],
spec=kw.get('spec',()), spec=kw.get('spec',()),
filter=kw.get('filter', None), filter=kw.get('filter', None),
......
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