Commit 1fc03b21 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

ERP5Type: do not publish deprecated Constant getter.

parent dc4a24c3
......@@ -96,6 +96,8 @@ class Getter(Accessor):
self._key = key
self.__name__ = id
self.value = value
# Do not publish deprecated Constant getter
self.__doc__ = None
def __call__(self, instance):
return self.value
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