Skip to content

Commit

Permalink
don't remove acquisition on object for getToolByName call
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Jun 8, 2015
1 parent 6844add commit aa8df9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
3.0.2 (unreleased)
------------------

- Nothing changed yet.
- Don't remove aquisition on object for getToolByName call
[tomgross]


3.0.1 (2015-03-12)
Expand Down
2 changes: 1 addition & 1 deletion plone/app/iterate/subscribers/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

def handleCheckout( event ):
# defer to setting
properties = getToolByName(aq_base(event.object), 'portal_properties')
properties = getToolByName(event.object, 'portal_properties')
enabled = properties.site_properties.getProperty('enable_checkout_workflow')
if not enabled:
return
Expand Down

0 comments on commit aa8df9d

Please sign in to comment.