[Checkins] SVN: zope.app.component/trunk/ Adapt to the move of IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.
Dan Korostelev
nadako at gmail.com
Sun Mar 8 06:12:57 EDT 2009
Log message for revision 97663:
Adapt to the move of IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.
Changed:
U zope.app.component/trunk/CHANGES.txt
U zope.app.component/trunk/src/zope/app/component/metaconfigure.py
U zope.app.component/trunk/src/zope/app/component/metadirectives.py
U zope.app.component/trunk/src/zope/app/component/tests/test_directives.py
-=-
Modified: zope.app.component/trunk/CHANGES.txt
===================================================================
--- zope.app.component/trunk/CHANGES.txt 2009-03-08 10:05:49 UTC (rev 97662)
+++ zope.app.component/trunk/CHANGES.txt 2009-03-08 10:12:57 UTC (rev 97663)
@@ -14,6 +14,9 @@
- Change package's mailing list address to zope-dev at zope.org,
because zope3-dev at zope.org is now retired.
+- Adapt to the move of IDefaultViewName from zope.component.interfaces
+ to zope.publisher.interfaces.
+
3.6.0 (2009-01-31)
------------------
Modified: zope.app.component/trunk/src/zope/app/component/metaconfigure.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/metaconfigure.py 2009-03-08 10:05:49 UTC (rev 97662)
+++ zope.app.component/trunk/src/zope/app/component/metaconfigure.py 2009-03-08 10:12:57 UTC (rev 97663)
@@ -22,10 +22,10 @@
from zope.interface import Interface
from zope.component.zcml import handler, proxify, utility
from zope.component.interface import provideInterface
-from zope.component.interfaces import IDefaultViewName, IFactory
from zope.configuration.exceptions import ConfigurationError
from zope.security.checker import CheckerPublic
from zope.security.checker import Checker, NamesChecker
+from zope.publisher.interfaces import IDefaultViewName
PublicPermission = 'zope.Public'
Modified: zope.app.component/trunk/src/zope/app/component/metadirectives.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/metadirectives.py 2009-03-08 10:05:49 UTC (rev 97662)
+++ zope.app.component/trunk/src/zope/app/component/metadirectives.py 2009-03-08 10:12:57 UTC (rev 97663)
@@ -41,13 +41,6 @@
'IFactorySubdirective',
)
-class IDefaultViewName(zope.interface.Interface):
- """A string that contains the default view name
-
- A default view name is used to select a view when a user hasn't
- specified one.
- """
-
class IBasicViewInformation(zope.interface.Interface):
"""This is the basic information for all views."""
Modified: zope.app.component/trunk/src/zope/app/component/tests/test_directives.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/tests/test_directives.py 2009-03-08 10:05:49 UTC (rev 97662)
+++ zope.app.component/trunk/src/zope/app/component/tests/test_directives.py 2009-03-08 10:12:57 UTC (rev 97663)
@@ -24,9 +24,9 @@
import zope.component
from zope.interface import implements
from zope.testing.doctestunit import DocTestSuite
-from zope.component.interfaces import IDefaultViewName
from zope.component.interfaces import ComponentLookupError
from zope.component.interface import queryInterface
+from zope.publisher.interfaces import IDefaultViewName
from zope.configuration.xmlconfig import xmlconfig, XMLConfig
from zope.configuration.exceptions import ConfigurationError
More information about the Checkins
mailing list