[Zope3-checkins] CVS: Zope3/src/zope/app/event - globalservice.py:1.12.16.1

Jim Fulton cvs-admin at zope.org
Sun Nov 9 11:08:48 EST 2003


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

Modified Files:
      Tag: adaptergeddon-branch
	globalservice.py 
Log Message:
Created a global presentation service that replaces the 
global view, resource, and skin services.

Now look up presentation components by adapting from a request type,
rather than adapting to a presentation type.





=== Zope3/src/zope/app/event/globalservice.py 1.12 => 1.12.16.1 ===
--- Zope3/src/zope/app/event/globalservice.py:1.12	Sun Aug  3 17:56:10 2003
+++ Zope3/src/zope/app/event/globalservice.py	Sun Nov  9 11:08:17 2003
@@ -33,7 +33,7 @@
 def checkEventType(event_type, allow_none=False):
     if not (
         (allow_none and event_type is None)
-        or event_type.extends(IEvent, strict=False)
+        or event_type.extends(IEvent, False)
         ):
         raise TypeError('event_type must extend IEvent: %s' % repr(event_type))
 




More information about the Zope3-Checkins mailing list