[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - __init__.py:1.1.6.13
Jim Fulton
jim@zope.com
Sun, 3 Feb 2002 18:40:20 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv6562
Modified Files:
Tag: Zope-3x-branch
__init__.py
Log Message:
Added setDefaultViewName, but we really shouldn't have mutators here.
=== Zope3/lib/python/Zope/ComponentArchitecture/__init__.py 1.1.6.12 => 1.1.6.13 ===
# FOR A PARTICULAR PURPOSE.
+# XXX We really shouldn't have the mutators here.
+
from IComponentArchitecture import IComponentArchitecture
@@ -14,7 +16,8 @@
from Service import defineService, provideService, getService
from SkinService import getSkin, defineSkin
from ViewService import getView, provideView, getRequestView
-from ViewService import getDefaultViewName, getRequestDefaultViewName
+from ViewService import getDefaultViewName, getRequestDefaultViewName, \
+ setDefaultViewName
from ResourceService import getResource, provideResource, getRequestResource
def _clear():