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

ERP5Type: do not publish deprecated Constant getter.

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