Commit 5841ea39 authored by Andreas Jung's avatar Andreas Jung

content_types -> contenttypes

parent 26bb12ed
...@@ -26,7 +26,7 @@ from Globals import package_home ...@@ -26,7 +26,7 @@ from Globals import package_home
from Common import rfc1123_date from Common import rfc1123_date
from DateTime import DateTime from DateTime import DateTime
from zope.app.content_types import guess_content_type from zope.app.contenttypes import guess_content_type
class ImageFile(Acquisition.Explicit): class ImageFile(Acquisition.Explicit):
"""Image objects stored in external files.""" """Image objects stored in external files."""
......
...@@ -17,7 +17,7 @@ $Id$ ...@@ -17,7 +17,7 @@ $Id$
from Globals import InitializeClass from Globals import InitializeClass
from ZPublisher.Converters import type_converters from ZPublisher.Converters import type_converters
from Globals import HTML, DTMLFile, MessageDialog from Globals import HTML, DTMLFile, MessageDialog
from zope.app.content_types import guess_content_type from zope.app.contenttypes import guess_content_type
from DTMLMethod import DTMLMethod, decapitate from DTMLMethod import DTMLMethod, decapitate
from PropertyManager import PropertyManager from PropertyManager import PropertyManager
from webdav.common import rfc1123_date from webdav.common import rfc1123_date
......
...@@ -18,7 +18,7 @@ import History ...@@ -18,7 +18,7 @@ import History
from Globals import HTML, DTMLFile, MessageDialog from Globals import HTML, DTMLFile, MessageDialog
from Globals import InitializeClass from Globals import InitializeClass
from SimpleItem import Item_w__name__, pretty_tb from SimpleItem import Item_w__name__, pretty_tb
from zope.app.content_types import guess_content_type from zope.app.contenttypes import guess_content_type
from PropertyManager import PropertyManager from PropertyManager import PropertyManager
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from AccessControl.Role import RoleManager from AccessControl.Role import RoleManager
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
$Id$ $Id$
""" """
import struct import struct
from zope.app.content_types import guess_content_type from zope.app.contenttypes import guess_content_type
from Globals import DTMLFile from Globals import DTMLFile
from Globals import InitializeClass from Globals import InitializeClass
from PropertyManager import PropertyManager from PropertyManager import PropertyManager
......
...@@ -17,8 +17,8 @@ $Id$ ...@@ -17,8 +17,8 @@ $Id$
import warnings import warnings
warnings.warn('Using OFS.content_types is deprecated (will be removed in Zope ' warnings.warn('Using OFS.content_types is deprecated (will be removed in Zope '
'2.11). Instead use zope.app.content_types.', '2.11). Instead use zope.app.contenttypes.',
DeprecationWarning, DeprecationWarning,
stacklevel=2) stacklevel=2)
from zope.app.content_types import text_type, guess_content_type, add_files from zope.app.contenttypes import text_type, guess_content_type, add_files
...@@ -25,7 +25,7 @@ from zExceptions import BadRequest ...@@ -25,7 +25,7 @@ from zExceptions import BadRequest
import marshal import marshal
from cgi import escape from cgi import escape
from zope.app.content_types import guess_content_type from zope.app.contenttypes import guess_content_type
_marker=[] _marker=[]
class ZClassMethodsSheet( class ZClassMethodsSheet(
......
...@@ -39,7 +39,7 @@ from interfaces import IWriteLock ...@@ -39,7 +39,7 @@ from interfaces import IWriteLock
from Resource import Resource from Resource import Resource
from WriteLockInterface import WriteLockInterface from WriteLockInterface import WriteLockInterface
from zope.app.content_types import guess_content_type from zope.app.contenttypes import guess_content_type
class NullResource(Persistent, Acquisition.Implicit, Resource): class NullResource(Persistent, Acquisition.Implicit, Resource):
......
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