[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - view.py:1.18 view.zcml:1.3

Jim Fulton jim@zope.com
Tue, 3 Jun 2003 18:46:47 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv6144/src/zope/app/browser/services

Modified Files:
	view.py view.zcml 
Log Message:
After cleaning up placefull test setup (see earlier checkins)
cleaned up unneeded imports in test modules (and some other modules)
based on the results of running Martijn Faassen's importchecker tool.


=== Zope3/src/zope/app/browser/services/view.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/browser/services/view.py:1.17	Sun Jun  1 11:59:27 2003
+++ Zope3/src/zope/app/browser/services/view.py	Tue Jun  3 18:46:16 2003
@@ -33,12 +33,6 @@
      Unregistered, Registered, Active
 from zope.app.traversing import getPath, getParent, objectName
 
-# XXX These are not used in this module, but are referenced in configure.zcml.
-#  either configure.zcml should be fixed, or a comment should replace
-#  this one to explain why configure.zcml is importing these two names
-#  from here rather than from where they are defined.
-from zope.app.services.view import ViewConfiguration, PageConfiguration
-
 class IViewSearch(Interface):
 
     forInterface = InterfaceField(title=u"For interface",


=== Zope3/src/zope/app/browser/services/view.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/view.zcml:1.2	Thu May  1 11:51:24 2003
+++ Zope3/src/zope/app/browser/services/view.zcml	Tue Jun  3 18:46:17 2003
@@ -40,7 +40,7 @@
   <addform
       schema="zope.app.interfaces.services.view.IPageConfiguration"
       name="PageConfiguration"
-      content_factory=".view.PageConfiguration"
+      content_factory="zope.app.services.view.PageConfiguration"
       keyword_arguments="forInterface class_ viewName permission layer"
       set_before_add="template"
       label="Register a view page"