Commit 3774e1a6 authored by Tres Seaver's avatar Tres Seaver

Remove use of deprecated module.

parent fbda609a
......@@ -175,8 +175,8 @@ def root_handler(config):
# Augment the set of MIME types:
if config.mime_types:
import OFS.content_types
OFS.content_types.add_files(config.mime_types)
from zope.app.contenttypes import add_files
add_files(config.mime_types)
# if no servers are defined, create default http server and ftp server
if not config.servers:
......
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