Skip to content

Commit

Permalink
Use the _marker from CMFCore for MemberDataTool.
Browse files Browse the repository at this point in the history
Signed-off-by: Rene Jochum <rene@jochums.at>
  • Loading branch information
jochumdev committed May 13, 2016
1 parent c863af0 commit f3eb8c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ New features:

Bug fixes:

- *add item here*
- Use the _marker from CMFCore for MemberDataTool.getProperty,
this makes sure that we never return the _marker from PlonePAS
but an error.
[pcdummy]


5.0.10 (2016-05-02)
Expand Down
3 changes: 1 addition & 2 deletions src/Products/PlonePAS/tools/memberdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from Acquisition import aq_base
from App.class_init import InitializeClass
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2
from Products.CMFCore.MemberDataTool import _marker
from Products.CMFCore.MemberDataTool import MemberData as BaseMemberData
from Products.CMFCore.MemberDataTool import MemberDataTool as BaseTool
from Products.CMFCore.permissions import ManagePortal
Expand All @@ -23,8 +24,6 @@
IRoleAssignerPlugin
from zope.interface import implementer

_marker = object()


class MemberDataTool(BaseTool):
"""PAS-specific implementation of memberdata tool.
Expand Down

0 comments on commit f3eb8c0

Please sign in to comment.