[Zope3-checkins] SVN: Zope3/branches/roger-contentprovider/src/zope/viewlet/ Use ZopeMessageFactory instead of ZopeMessageIDFactory to get rid of deprecation messages.

Helmut Merz helmutm at cy55.de
Sat Oct 22 08:36:36 EDT 2005


Log message for revision 39556:
  Use ZopeMessageFactory instead of ZopeMessageIDFactory to get rid of deprecation messages.

Changed:
  U   Zope3/branches/roger-contentprovider/src/zope/viewlet/interfaces.py
  U   Zope3/branches/roger-contentprovider/src/zope/viewlet/metadirectives.py

-=-
Modified: Zope3/branches/roger-contentprovider/src/zope/viewlet/interfaces.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/viewlet/interfaces.py	2005-10-21 23:27:46 UTC (rev 39555)
+++ Zope3/branches/roger-contentprovider/src/zope/viewlet/interfaces.py	2005-10-22 12:36:36 UTC (rev 39556)
@@ -19,7 +19,7 @@
 
 import zope.interface
 import zope.schema
-from zope.app.i18n import ZopeMessageIDFactory as _
+from zope.app.i18n import ZopeMessageFactory as _
 
 from zope.contentprovider.interfaces import IContentProvider
 from zope.interface.common.mapping import IReadMapping

Modified: Zope3/branches/roger-contentprovider/src/zope/viewlet/metadirectives.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/viewlet/metadirectives.py	2005-10-21 23:27:46 UTC (rev 39555)
+++ Zope3/branches/roger-contentprovider/src/zope/viewlet/metadirectives.py	2005-10-22 12:36:36 UTC (rev 39556)
@@ -20,7 +20,7 @@
 import zope.configuration.fields
 import zope.schema
 
-from zope.app.i18n import ZopeMessageIDFactory as _
+from zope.app.i18n import ZopeMessageFactory as _
 from zope.app.publisher.browser import metadirectives
 from zope.app.publisher.interfaces import browser
 



More information about the Zope3-Checkins mailing list