[Zope-Checkins] SVN: Zope/trunk/lib/python/ Merge zope33-port branch: Use most recent Zope 3 trunk (after jim-adapter branch merge)

Philipp von Weitershausen philikon at philikon.de
Tue May 2 05:55:19 EDT 2006


Log message for revision 67823:
  Merge zope33-port branch: Use most recent Zope 3 trunk (after jim-adapter branch merge)
  and a corresponding Five trunk
  

Changed:
  _U  Zope/trunk/lib/python/
  U   Zope/trunk/lib/python/App/ImageFile.py
  U   Zope/trunk/lib/python/OFS/CopySupport.py
  U   Zope/trunk/lib/python/OFS/DTMLDocument.py
  U   Zope/trunk/lib/python/OFS/DTMLMethod.py
  U   Zope/trunk/lib/python/OFS/Image.py
  U   Zope/trunk/lib/python/OFS/ObjectManager.py
  U   Zope/trunk/lib/python/OFS/content_types.py
  U   Zope/trunk/lib/python/OFS/event.py
  U   Zope/trunk/lib/python/OFS/interfaces.py
  U   Zope/trunk/lib/python/OFS/subscribers.py
  _U  Zope/trunk/lib/python/Products/
  U   Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py
  U   Zope/trunk/lib/python/TAL/TALInterpreter.py
  U   Zope/trunk/lib/python/Testing/makerequest.py
  U   Zope/trunk/lib/python/ZClasses/Method.py
  U   Zope/trunk/lib/python/ZPublisher/HTTPRequest.py
  U   Zope/trunk/lib/python/ZPublisher/Publish.py
  U   Zope/trunk/lib/python/ZPublisher/Test.py
  U   Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py
  U   Zope/trunk/lib/python/Zope2/Startup/handlers.py
  U   Zope/trunk/lib/python/webdav/NullResource.py
  _U  Zope/trunk/lib/python/zope/

-=-

Property changes on: Zope/trunk/lib/python
___________________________________________________________________
Name: svn:externals
   - ZConfig        svn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1
BTrees         -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/BTrees
persistent     -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/persistent
ThreadedAsync  -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ThreadedAsync
transaction    -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/transaction
ZEO            -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZEO
ZODB           -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZODB
ZopeUndo       -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZopeUndo
zdaemon        -r 40792 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon
pytz           -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/pytz
zodbcode       -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zodbcode
ClientCookie   -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/ClientCookie
mechanize      -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/mechanize
docutils       svn://svn.zope.org/repos/main/docutils/tags/0.4.0


   + ZConfig        svn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1
BTrees         -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/BTrees
persistent     -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/persistent
ThreadedAsync  -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ThreadedAsync
transaction    -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/transaction
ZEO            -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZEO
ZODB           -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZODB
ZopeUndo       -r 41153 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZopeUndo
zdaemon        -r 40792 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon
pytz           -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/pytz
zodbcode       -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zodbcode
ClientCookie   -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/ClientCookie
mechanize      -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/mechanize
docutils       svn://svn.zope.org/repos/main/docutils/tags/0.4.0



Modified: Zope/trunk/lib/python/App/ImageFile.py
===================================================================
--- Zope/trunk/lib/python/App/ImageFile.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/App/ImageFile.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -26,7 +26,7 @@
 from Common import rfc1123_date
 from DateTime import DateTime
 
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 
 class ImageFile(Acquisition.Explicit):
     """Image objects stored in external files."""

Modified: Zope/trunk/lib/python/OFS/CopySupport.py
===================================================================
--- Zope/trunk/lib/python/OFS/CopySupport.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/CopySupport.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -37,7 +37,7 @@
 from ZODB.POSException import ConflictError
 from zope.interface import implements
 from zope.event import notify
-from zope.app.event.objectevent import ObjectCopiedEvent
+from zope.lifecycleevent import ObjectCopiedEvent
 from zope.app.container.contained import ObjectMovedEvent
 from zope.app.container.contained import notifyContainerModified
 from OFS.event import ObjectWillBeMovedEvent

Modified: Zope/trunk/lib/python/OFS/DTMLDocument.py
===================================================================
--- Zope/trunk/lib/python/OFS/DTMLDocument.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/DTMLDocument.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -17,7 +17,7 @@
 from Globals import InitializeClass
 from ZPublisher.Converters import type_converters
 from Globals import HTML, DTMLFile, MessageDialog
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 from DTMLMethod import DTMLMethod, decapitate
 from PropertyManager import PropertyManager
 from webdav.common import rfc1123_date

Modified: Zope/trunk/lib/python/OFS/DTMLMethod.py
===================================================================
--- Zope/trunk/lib/python/OFS/DTMLMethod.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/DTMLMethod.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -18,7 +18,7 @@
 from Globals import HTML, DTMLFile, MessageDialog
 from Globals import InitializeClass
 from SimpleItem import Item_w__name__, pretty_tb
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 from PropertyManager import PropertyManager
 from AccessControl import ClassSecurityInfo
 from AccessControl.Role import RoleManager

Modified: Zope/trunk/lib/python/OFS/Image.py
===================================================================
--- Zope/trunk/lib/python/OFS/Image.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/Image.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -15,7 +15,7 @@
 $Id$
 """
 import struct
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 from Globals import DTMLFile
 from Globals import InitializeClass
 from PropertyManager import PropertyManager

Modified: Zope/trunk/lib/python/OFS/ObjectManager.py
===================================================================
--- Zope/trunk/lib/python/OFS/ObjectManager.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/ObjectManager.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -46,6 +46,7 @@
 
 from ZODB.POSException import ConflictError
 from zope.interface import implements
+from zope.component.interfaces import ComponentLookupError
 
 import CopySupport
 from interfaces import IObjectManager
@@ -166,6 +167,21 @@
 
     isPrincipiaFolderish=1
 
+    # IPossibleSite API
+
+    _components = None
+
+    security.declarePublic('getSiteManager')
+    def getSiteManager(self):
+        if self._components is None:
+            raise ComponentLookupError('No component registry defined.')
+        return self._components
+
+    security.declareProtected('Manage Site', 'setSiteManager')
+    def setSiteManager(self, components):
+        self._components = components
+
+
     def __class_init__(self):
         try:    mt=list(self.meta_types)
         except: mt=[]

Modified: Zope/trunk/lib/python/OFS/content_types.py
===================================================================
--- Zope/trunk/lib/python/OFS/content_types.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/content_types.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -14,11 +14,10 @@
 
 $Id$
 """
-
 import warnings
 warnings.warn('Using OFS.content_types is deprecated (will be removed in Zope '
-              '2.11). Instead use zope.app.contenttypes.', 
+              '2.11). Instead use zope.contenttype.', 
               DeprecationWarning,
               stacklevel=2) 
 
-from zope.app.contenttypes import text_type, guess_content_type, add_files
+from zope.contenttype import text_type, guess_content_type, add_files

Modified: Zope/trunk/lib/python/OFS/event.py
===================================================================
--- Zope/trunk/lib/python/OFS/event.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/event.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -18,7 +18,7 @@
 """
 
 from zope.interface import implements
-from zope.app.event.objectevent import ObjectEvent
+from zope.component.interfaces import ObjectEvent
 import OFS.interfaces
 
 

Modified: Zope/trunk/lib/python/OFS/interfaces.py
===================================================================
--- Zope/trunk/lib/python/OFS/interfaces.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/interfaces.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -27,7 +27,8 @@
 from webdav.interfaces import IDAVCollection
 from webdav.interfaces import IDAVResource
 
-from zope.app.traversing.interfaces import IContainmentRoot
+from zope.traversing.interfaces import IContainmentRoot
+from zope.app.component.interfaces import IPossibleSite
 
 class IOrderedContainer(Interface):
 
@@ -476,13 +477,12 @@
 #      not synced with ZopeBook API Reference;
 #      based on OFS.ObjectManager.ObjectManager
 class IObjectManager(IZopeObject, ICopyContainer, INavigation, IManageable,
-                     IAcquirer, IPersistent, IDAVCollection, ITraversable):
-
+                     IAcquirer, IPersistent, IDAVCollection, ITraversable,
+                     IPossibleSite):
     """Generic object manager
 
     This interface provides core behavior for collections of heterogeneous
-    objects.
-    """
+    objects."""
 
     meta_types = Tuple(
         title=u"Meta types",
@@ -903,7 +903,7 @@
 ##################################################
 # Event interfaces
 
-from zope.app.event.interfaces import IObjectEvent
+from zope.component.interfaces import IObjectEvent
 
 class IObjectWillBeMovedEvent(IObjectEvent):
     """An object will be moved."""

Modified: Zope/trunk/lib/python/OFS/subscribers.py
===================================================================
--- Zope/trunk/lib/python/OFS/subscribers.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/OFS/subscribers.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -20,18 +20,18 @@
 import warnings
 from logging import getLogger
 
+import OFS.interfaces
 from Acquisition import aq_base
 from App.config import getConfiguration
 from AccessControl import getSecurityManager
 from ZODB.POSException import ConflictError
-import OFS.interfaces
 
-from zope.interface import implements
-from zope.component import adapts
+import zope.component
+import zope.interface
+import zope.location.interfaces
 from zope.app.container.contained import dispatchToSublocations
-from zope.app.location.interfaces import ISublocations
+from zope.app.container.interfaces import IObjectMovedEvent
 
-
 deprecatedManageAddDeleteClasses = []
 
 LOG = getLogger('OFS.subscribers')
@@ -78,8 +78,8 @@
 class ObjectManagerSublocations(object):
     """Get the sublocations for an ObjectManager.
     """
-    adapts(OFS.interfaces.IObjectManager)
-    implements(ISublocations)
+    zope.component.adapts(OFS.interfaces.IObjectManager)
+    zope.interface.implements(zope.location.interfaces.ISublocations)
 
     def __init__(self, container):
         self.container = container
@@ -98,6 +98,8 @@
 # could have a simple subscriber for IObjectManager that directly calls
 # dispatchToSublocations.
 
+ at zope.component.adapter(OFS.interfaces.IItem,
+                        OFS.interfaces.IObjectWillBeMovedEvent)
 def dispatchObjectWillBeMovedEvent(ob, event):
     """Multi-subscriber for IItem + IObjectWillBeMovedEvent.
     """
@@ -107,6 +109,7 @@
     # Next, do the manage_beforeDelete dance
     callManageBeforeDelete(ob, event.object, event.oldParent)
 
+ at zope.component.adapter(OFS.interfaces.IItem, IObjectMovedEvent)
 def dispatchObjectMovedEvent(ob, event):
     """Multi-subscriber for IItem + IObjectMovedEvent.
     """
@@ -116,6 +119,8 @@
     if OFS.interfaces.IObjectManager.providedBy(ob):
         dispatchToSublocations(ob, event)
 
+ at zope.component.adapter(OFS.interfaces.IItem,
+                        OFS.interfaces.IObjectClonedEvent)
 def dispatchObjectClonedEvent(ob, event):
     """Multi-subscriber for IItem + IObjectClonedEvent.
     """


Property changes on: Zope/trunk/lib/python/Products
___________________________________________________________________
Name: svn:externals
   - # updated to get a more recent working Five snapshot (what will be Five 1.5
# and actually included with Zope 2.10

Five -r67728 svn://svn.zope.org/repos/main/Products.Five/trunk

   + Five     -r 67822 svn://svn.zope.org/repos/main/Products.Five/trunk


Modified: Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -20,7 +20,7 @@
 import Acquisition 
 from Globals import ImageFile, package_home, InitializeClass
 from OFS.SimpleItem import SimpleItem
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 from DateTime.DateTime import DateTime
 from Shared.DC.Scripts.Script import Script 
 from Shared.DC.Scripts.Signature import FuncCode

Modified: Zope/trunk/lib/python/TAL/TALInterpreter.py
===================================================================
--- Zope/trunk/lib/python/TAL/TALInterpreter.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/TAL/TALInterpreter.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -24,11 +24,7 @@
 from DocumentTemplate.DT_Util import ustr
 from ZODB.POSException import ConflictError
 
-# BBB 2005/10/10 -- MessageIDs are to be removed for Zope 3.3
-import zope.deprecation
-zope.deprecation.__show__.off()
-from zope.i18nmessageid import Message, MessageID
-zope.deprecation.__show__.on()
+from zope.i18nmessageid import Message
 
 from TALDefs import attrEscape, TAL_VERSION, METALError
 from TALDefs import isCurrentVersion
@@ -36,8 +32,7 @@
 from TALGenerator import TALGenerator
 from TranslationContext import TranslationContext
 
-# This will become (MessageID, Message) when we use Zope 3.1 as a base:
-I18nMessageTypes = Message, MessageID
+I18nMessageTypes = (Message,)
 
 # TODO: In Python 2.4 we can use frozenset() instead of dict.fromkeys()
 BOOLEAN_HTML_ATTRS = dict.fromkeys([

Modified: Zope/trunk/lib/python/Testing/makerequest.py
===================================================================
--- Zope/trunk/lib/python/Testing/makerequest.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/Testing/makerequest.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -62,7 +62,7 @@
     
     # set Zope3-style default skin so that the request is usable for
     # Zope3-style view look-ups.
-    from zope.app.publication.browser import setDefaultSkin
+    from zope.publisher.browser import setDefaultSkin
     setDefaultSkin(req)
 
     requestcontainer = RequestContainer(REQUEST = req)

Modified: Zope/trunk/lib/python/ZClasses/Method.py
===================================================================
--- Zope/trunk/lib/python/ZClasses/Method.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/ZClasses/Method.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -25,7 +25,7 @@
 
 import marshal
 from cgi import escape
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 
 _marker=[]
 class ZClassMethodsSheet(

Modified: Zope/trunk/lib/python/ZPublisher/HTTPRequest.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/HTTPRequest.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/ZPublisher/HTTPRequest.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -13,7 +13,7 @@
 
 __version__='$Revision: 1.96 $'[11:-2]
 
-import re, sys, os, time, random, codecs
+import re, sys, os, time, random, codecs, inspect
 from types import StringType, UnicodeType
 from BaseRequest import BaseRequest
 from HTTPResponse import HTTPResponse
@@ -25,6 +25,8 @@
 from maybe_lock import allocate_lock
 xmlrpc=None # Placeholder for module that we'll import if we have to.
 
+from zope.publisher.base import DebugFlags
+
 # This may get overwritten during configuration
 default_encoding = 'iso-8859-15'
 
@@ -262,6 +264,7 @@
         self.steps=[]
         self._steps=[]
         self._lazies={}
+        self._debug = DebugFlags()
 
 
         if environ.has_key('REMOTE_ADDR'):
@@ -1213,7 +1216,18 @@
             raise KeyError, key
         return v
 
+    # Using the getattr protocol to retrieve form values and similar
+    # is discouraged and is likely to be deprecated in the future.
+    # request.get(key) or request[key] should be used instead
     def __getattr__(self, key, default=_marker, returnTaints=0):
+        # ugly hack to make request.debug work for Zope 3 code (the
+        # ZPT engine, to be exact) while retaining request.debug
+        # functionality for all other code
+        if key == 'debug':
+            lastframe = inspect.currentframe().f_back
+            if lastframe.f_globals['__name__'].startswith('zope.'):
+                return self._debug
+        
         v = self.get(key, default, returnTaints=returnTaints)
         if v is _marker:
             raise AttributeError, key

Modified: Zope/trunk/lib/python/ZPublisher/Publish.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/Publish.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/ZPublisher/Publish.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -21,7 +21,7 @@
 from maybe_lock import allocate_lock
 from mapply import mapply
 from zExceptions import Redirect
-from zope.app.publication.browser import setDefaultSkin
+from zope.publisher.browser import setDefaultSkin
 
 class Retry(Exception):
     """Raise this to retry a request

Modified: Zope/trunk/lib/python/ZPublisher/Test.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/Test.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/ZPublisher/Test.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -192,7 +192,7 @@
                 # make sure that the request we hand over has the
                 # default layer/skin set on it; subsequent code that
                 # wants to look up views will likely depend on it
-                from zope.app.publication.browser import setDefaultSkin
+                from zope.publisher.browser import setDefaultSkin
                 setDefaultSkin(request)
 
             for k, v in extra.items(): request[k]=v

Modified: Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -701,6 +701,45 @@
         f.seek(0)
         self.assertEqual(f.xreadlines(),f)
 
+    def testDebug(self):
+        TEST_ENVIRON = {
+            'REQUEST_METHOD': 'GET',
+            'SERVER_NAME': 'localhost',
+            'SERVER_PORT': '80',
+            }
+        from StringIO import StringIO
+        from ZPublisher.HTTPRequest import HTTPRequest
+        s = StringIO('')
+
+        # accessing request.debug from non-Zope3 code will raise an
+        # AttributeError
+        env = TEST_ENVIRON.copy()
+        request = HTTPRequest(s, env, None)
+        request.processInputs()
+        self.assertRaises(AttributeError, getattr, request, 'debug')
+
+        # or it will actually yield a 'debug' form variable if it
+        # exists
+        env = TEST_ENVIRON.copy()
+        env['QUERY_STRING'] = 'debug=1'
+        request = HTTPRequest(s, env, None)
+        request.processInputs()
+        self.assertEqual(request.debug, '1')
+
+        # if we access request.debug from a Zope 3 package, however,
+        # we will see the DebugFlags instance
+        def getDebug(request):
+            return request.debug
+        # make a forged copy of getDebug that looks as if its module
+        # was a Zope 3 package
+        z3globals = globals().copy()
+        z3globals['__name__'] = 'zope.apackage'
+        import new
+        getDebugFromZope3 = new.function(getDebug.func_code, z3globals)
+        from zope.publisher.base import DebugFlags
+        self.assertEqual(getDebug(request), '1')
+        self.assert_(isinstance(getDebugFromZope3(request), DebugFlags))
+
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTest(unittest.makeSuite(AuthCredentialsTestsa, 'test'))

Modified: Zope/trunk/lib/python/Zope2/Startup/handlers.py
===================================================================
--- Zope/trunk/lib/python/Zope2/Startup/handlers.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/Zope2/Startup/handlers.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -202,7 +202,7 @@
 
     # Augment the set of MIME types:
     if config.mime_types:
-        from zope.app.contenttypes import add_files
+        from zope.contenttype import add_files
         add_files(config.mime_types)
 
     # if no servers are defined, create default http server and ftp server

Modified: Zope/trunk/lib/python/webdav/NullResource.py
===================================================================
--- Zope/trunk/lib/python/webdav/NullResource.py	2006-05-02 09:53:32 UTC (rev 67822)
+++ Zope/trunk/lib/python/webdav/NullResource.py	2006-05-02 09:55:17 UTC (rev 67823)
@@ -39,7 +39,7 @@
 from Resource import Resource
 from WriteLockInterface import WriteLockInterface
 
-from zope.app.contenttypes import guess_content_type
+from zope.contenttype import guess_content_type
 
 
 class NullResource(Persistent, Acquisition.Implicit, Resource):


Property changes on: Zope/trunk/lib/python/zope
___________________________________________________________________
Name: svn:externals
   - app              -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app
cachedescriptors -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/cachedescriptors
component        -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/component
configuration    -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/configuration
documenttemplate -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/documenttemplate
event            -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/event
exceptions       -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/exceptions
hookable         -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/hookable
i18n             -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/i18n
i18nmessageid    -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/i18nmessageid
interface        -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/interface
modulealias      -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/modulealias
pagetemplate     -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/pagetemplate
proxy            -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/proxy
publisher        -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/publisher
schema           -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/schema
security         -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/security
server           -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/server
structuredtext   -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/structuredtext
tal              -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/tal
tales            -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/tales
testing          -r 40941 svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing
thread           -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/thread
deprecation      -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/deprecation
dottedname       -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/dottedname
formlib          -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/formlib
index            -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/index
testbrowser      -r 41215 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/testbrowser
contentprovider  -r 66018 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/contentprovider
viewlet          -r 66018 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/viewlet


   + app              -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app
cachedescriptors -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/cachedescriptors
component        -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/component
configuration    -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/configuration
documenttemplate -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/documenttemplate
event            -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/event
exceptions       -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/exceptions
hookable         -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/hookable
i18n             -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/i18n
i18nmessageid    -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/i18nmessageid
interface        -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/interface
modulealias      -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/modulealias
pagetemplate     -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/pagetemplate
proxy            -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/proxy
publisher        -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/publisher
schema           -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/schema
security         -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/security
server           -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/server
structuredtext   -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/structuredtext
tal              -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/tal
tales            -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/tales
testing          -r 67760 svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing
thread           -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/thread
deprecation      -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/deprecation
dottedname       -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/dottedname
formlib          -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/formlib
index            -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/index
testbrowser      -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/testbrowser
contentprovider  -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/contentprovider
viewlet          -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/viewlet
annotation       -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/annotation
contenttype      -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/contenttype
copypastemove    -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/copypastemove
datetime         -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/datetime
decorator        -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/decorator
deferredimport   -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/deferredimport
dublincore       -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/dublincore
filerepresentation -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/filerepresentation
lifecycleevent   -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/lifecycleevent
location         -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/location
rdb              -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/rdb
sendmail         -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/sendmail
size             -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/size
traversing       -r 67819 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/traversing




More information about the Zope-Checkins mailing list