Log message for revision 67130: content_types has move (again) to zope.contenttype
Changed: U Zope/branches/philikon-local-components/lib/python/OFS/content_types.py -=- Modified: Zope/branches/philikon-local-components/lib/python/OFS/content_types.py =================================================================== --- Zope/branches/philikon-local-components/lib/python/OFS/content_types.py 2006-04-19 13:50:58 UTC (rev 67129) +++ Zope/branches/philikon-local-components/lib/python/OFS/content_types.py 2006-04-19 13:52:18 UTC (rev 67130) @@ -14,11 +14,10 @@ $Id$ """ - import warnings warnings.warn('Using OFS.content_types is deprecated (will be removed in Zope ' - '2.11). Instead use zope.app.contenttypes.', + '2.11). Instead use zope.contenttype.', DeprecationWarning, stacklevel=2) -from zope.app.contenttypes import text_type, guess_content_type, add_files +from zope.contenttype import text_type, guess_content_type, add_files _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins