[Zope-Checkins]
SVN: Zope/branches/philikon-local-components/lib/python/OFS/content_types.py
content_types has move (again) to zope.contenttype
Philipp von Weitershausen
philikon at philikon.de
Wed Apr 19 09:52:20 EDT 2006
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
More information about the Zope-Checkins
mailing list