Commit 329fe167 authored by Andreas Jung's avatar Andreas Jung

removed deprecated OFS.content_types

parent 028137d9
......@@ -9,6 +9,8 @@ Zope Changes
Restructuring
- Removed OFS.content_types (was deprecated since Zope 2.9)
- Undeprecated 'zLOG', which will remain a backward-compatibility
shim for the Python logging module.
......
##############################################################################
#
# Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""A utility module for content-type handling.
$Id$
"""
import warnings
warnings.warn('Using OFS.content_types is deprecated (will be removed in Zope '
'2.11). Instead use zope.contenttype.',
DeprecationWarning,
stacklevel=2)
from zope.contenttype import text_type, guess_content_type, add_files
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