plone/plone.api — comment on commit b8dd24fdf3f45876b2626d1281d80d209d088626
File:  line 0
By mjpieters:

This is not a case of the packages missing; the hooks.py module was moved from zope.app.component to zope.component; the try/except is there to follow this move between Plone versions and should be tuned to the most likely case.