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

Martijn, I can agree that the first version is less likely to lead to an ImportError on recent versions but my point here is not about programming, is about logic...because of the dependency between them, if zope.component is missing then zope.app.component is even more missing and thus that try/except is useless.

+1 for the getUtility

just my 2¢