diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt index ffa291b..80b9c1c 100644 --- a/docs/HISTORY.txt +++ b/docs/HISTORY.txt @@ -4,6 +4,9 @@ Changelog 1.0.6 (unreleased) ------------------ +* Import getSite from zope.component to avoid dependency on zope.app.component. + [hvelarde] + * Import ViewPageTemplateFile from zope.browserpage to avoid dependency on zope.app.pagetemplate. [hvelarde] diff --git a/plone/formwidget/contenttree/widget.py b/plone/formwidget/contenttree/widget.py index fe1996e..a2d934f 100644 --- a/plone/formwidget/contenttree/widget.py +++ b/plone/formwidget/contenttree/widget.py @@ -11,7 +11,7 @@ import z3c.form.interfaces import z3c.form.widget import z3c.form.util -from zope.app.component.hooks import getSite +from zope.component.hooks import getSite from plone.app.layout.navigation.interfaces import INavtreeStrategy from plone.app.layout.navigation.navtree import buildFolderTree