Skip to content

Commit

Permalink
Update deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ale-rt committed Sep 19, 2022
1 parent b7782d2 commit 938e814
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Products/CMFPlone/PropertiesTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ def smtp_server(self):


@deprecate(
"The portal portal_properties tool will be removed. "
"Use the portal_registry instead."
"The portal portal_properties tool will be removed in Plone 6.1. "
"Use the portal_registry instead. "
"Check https://github.com/plone/Products.CMFPlone/issues/125 "
"for more details."
)
def hasProperty(self, id):
return super().hasProperty(id)
Expand All @@ -135,8 +137,10 @@ def __init__(self, id, title=''):
+ SimpleItem.manage_options)

@deprecate(
"The portal portal_properties tool will be removed. "
"Use the portal_registry instead."
"The portal portal_properties tool will be removed in Plone 6.1. "
"Use the portal_registry instead. "
"Check https://github.com/plone/Products.CMFPlone/issues/125 "
"for more details."
)
def hasProperty(self, id):
return super().hasProperty(id)
Expand Down

0 comments on commit 938e814

Please sign in to comment.