[Zope-dev] SVN: zope.container/trunk/ Adapt to the move of IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.

Jan-Wijbrand Kolman janwijbrand at gmail.com
Thu Apr 16 15:21:58 EDT 2009


Dan Korostelev wrote:
> Log message for revision 97660:
>   Adapt to the move of IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.
> 
> Changed:
>   U   zope.container/trunk/CHANGES.txt
>   U   zope.container/trunk/src/zope/container/traversal.py
> 
> -=-
> Modified: zope.container/trunk/CHANGES.txt
> ===================================================================
> --- zope.container/trunk/CHANGES.txt	2009-03-08 09:52:54 UTC (rev 97659)
> +++ zope.container/trunk/CHANGES.txt	2009-03-08 09:58:46 UTC (rev 97660)
> @@ -5,6 +5,9 @@
>  3.7.2 (unreleased)
>  ------------------
>  
> +- Adapt to the move of IDefaultViewName from zope.component.interfaces
> +  to zope.publisher.interfaces.
> +
>  - Add support for reserved names for containers. To specify reserved
>    names for some container, you need to provide an adapter from the
>    container to the ``zope.container.interfaces.IReservedNames`` interface.
> 
> Modified: zope.container/trunk/src/zope/container/traversal.py
> ===================================================================
> --- zope.container/trunk/src/zope/container/traversal.py	2009-03-08 09:52:54 UTC (rev 97659)
> +++ zope.container/trunk/src/zope/container/traversal.py	2009-03-08 09:58:46 UTC (rev 97660)
> @@ -19,11 +19,10 @@
>  
>  from zope.interface import implements, providedBy
>  from zope.component import queryMultiAdapter, getSiteManager
> -from zope.component.interfaces import IDefaultViewName
>  from zope.traversing.interfaces import TraversalError, ITraversable
>  from zope.publisher.interfaces.browser import IBrowserPublisher
>  from zope.publisher.interfaces.xmlrpc import IXMLRPCPublisher
> -from zope.publisher.interfaces import NotFound
> +from zope.publisher.interfaces import IDefaultViewName, NotFound
>  
>  from zope.container.interfaces import ISimpleReadContainer, IItemContainer
>  from zope.container.interfaces import IReadContainer

I think these changes should've been accompanied with a minimal version
requirement of 3.6.0 for zope.publisher in zope.container's setup.py right?

Will add that now.

regards,
jw

--
Jan-Wijbrand Kolman



More information about the Zope-Dev mailing list