Skip to content

Commit

Permalink
Make code example valid Python
Browse files Browse the repository at this point in the history
  • Loading branch information
lentinj committed Oct 25, 2013
1 parent 2f1e46c commit bcfdc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.txt
Expand Up @@ -238,7 +238,7 @@ example, here is some code to purge the parent of the purged object::
from z3c.caching.purge import Purge

@adapter(IMyContent, IPurgeEvent)
def purgeParent(object, IPurgeEvent)
def purgeParent(object, IPurgeEvent):
parent = object.__parent__
if parent is not None:
notify(Purge(parent))
Expand Down

1 comment on commit bcfdc1b

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TESTS FAILED
Mr.Roboto url : http://jenkins.plone.org/roboto/get_info?push=ef4040587cac444bbc92a82d61c910fc
plone-4.2-python-2.6 [SUCCESS]
plone-4.2-python-2.7 [SUCCESS]
plone-4.3-python-2.6 [SUCCESS]
plone-4.3-python-2.7 [SUCCESS]
plone-5.0-python-2.7 [FAILURE]

Please sign in to comment.