Commit a9500f2e authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

zope4: depend on zope.component >= 5

parent 77b29bc5
......@@ -74,7 +74,7 @@ if 1: # BBB
# class
sm = zope.component.getSiteManager()
portal = Acquisition.aq_parent(sm)
from zope.component.interfaces import ComponentLookupError
from zope.interface.interfaces import ComponentLookupError
try:
ui_domain = sm.getUtility(ITranslationDomain, name='ui')
except ComponentLookupError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment