############################################################################## # # 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: content_types.py 67823 2006-05-02 09:55:17Z philikon $ """ 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