[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/viewlet/
Fix up according to new location of IBrowserView,
and while I'm at it,
Philipp von Weitershausen
philikon at philikon.de
Mon Apr 10 17:20:18 EDT 2006
Log message for revision 66816:
Fix up according to new location of IBrowserView, and while I'm at it,
get rid of a minor zope.app dependency (zope.app.i18n).
Changed:
U Zope3/branches/jim-adapter/src/zope/viewlet/interfaces.py
U Zope3/branches/jim-adapter/src/zope/viewlet/metadirectives.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/viewlet/interfaces.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/viewlet/interfaces.py 2006-04-10 21:14:56 UTC (rev 66815)
+++ Zope3/branches/jim-adapter/src/zope/viewlet/interfaces.py 2006-04-10 21:20:17 UTC (rev 66816)
@@ -19,10 +19,10 @@
import zope.interface
import zope.schema
-from zope.app.i18n import ZopeMessageFactory as _
-
from zope.contentprovider.interfaces import IContentProvider
from zope.interface.common.mapping import IReadMapping
+from zope.i18nmessageid import MessageFactory
+_ = MessageFactory('zope')
class IViewlet(IContentProvider):
"""A content provider that is managed by another content provider, known
Modified: Zope3/branches/jim-adapter/src/zope/viewlet/metadirectives.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/viewlet/metadirectives.py 2006-04-10 21:14:56 UTC (rev 66815)
+++ Zope3/branches/jim-adapter/src/zope/viewlet/metadirectives.py 2006-04-10 21:20:17 UTC (rev 66816)
@@ -19,11 +19,11 @@
import zope.configuration.fields
import zope.schema
+from zope.publisher.interfaces import browser
+from zope.i18nmessageid import MessageFactory
+_ = MessageFactory('zope')
-from zope.app.i18n import ZopeMessageFactory as _
from zope.app.publisher.browser import metadirectives
-from zope.app.publisher.interfaces import browser
-
from zope.viewlet import interfaces
More information about the Zope3-Checkins
mailing list