[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - namespace.py:1.19

Jim Fulton jim at zope.com
Tue Sep 2 17:47:23 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv16881/src/zope/app/traversing

Modified Files:
	namespace.py 
Log Message:
Added ISite, which is a marker interface indicating that an object is
a site.

When an object is made into a site, ISite is declared for it.

Change to test whether something is a site by testing whether 
it (declares it) implements ISite.


=== Zope3/src/zope/app/traversing/namespace.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/traversing/namespace.py:1.18	Sun Aug 17 02:08:30 2003
+++ Zope3/src/zope/app/traversing/namespace.py	Tue Sep  2 16:46:53 2003
@@ -168,7 +168,7 @@
     if name not in ('site', 'Services'):
         raise NotFoundError(ob, pname, request)
 
-    method_name = "getServiceManager"
+    method_name = "getSiteManager"
     method = getattr(ob, method_name, None)
     if method is None:
         raise NotFoundError(ob, pname, request)




More information about the Zope3-Checkins mailing list