Log message for revision 41330:
  Remove use of deprecated module.

Changed:
  U   Zope/trunk/lib/python/Zope2/Startup/handlers.py

-=-
Modified: Zope/trunk/lib/python/Zope2/Startup/handlers.py
===================================================================
--- Zope/trunk/lib/python/Zope2/Startup/handlers.py     2006-01-16 17:35:51 UTC 
(rev 41329)
+++ Zope/trunk/lib/python/Zope2/Startup/handlers.py     2006-01-16 17:50:57 UTC 
(rev 41330)
@@ -175,8 +175,8 @@
 
     # 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:

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to