[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/versioncontrol/README.txt Registration now generates events.

Jim Fulton jim at zope.com
Sun Apr 2 12:59:18 EDT 2006


Log message for revision 66300:
  Registration now generates events.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/versioncontrol/README.txt

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/versioncontrol/README.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/versioncontrol/README.txt	2006-04-02 16:59:15 UTC (rev 66299)
+++ Zope3/branches/jim-adapter/src/zope/app/versioncontrol/README.txt	2006-04-02 16:59:17 UTC (rev 66300)
@@ -71,6 +71,10 @@
 
     >>> component.provideAdapter(
     ...     zope.app.annotation.attribute.AttributeAnnotations)
+    ... # doctest: +NORMALIZE_WHITESPACE
+    Registered event:
+    AdapterRegistration(<BaseGlobalComponents base>, 
+        [IAttributeAnnotatable], IAnnotations, '', AttributeAnnotations, u'')
 
 Now we need to create a database with an instance of our sample object to work
 with:
@@ -140,6 +144,10 @@
     >>> component.provideHandler(
     ...     (lambda ob, evt: showEvent("applied version control", ob, evt)),
     ...     (interface.Interface, interfaces.IVersionControlApplied))
+    ... # doctest: +NORMALIZE_WHITESPACE
+    Registered event:
+    HandlerRegistration(<BaseGlobalComponents base>, 
+                     [Interface, IVersionControlApplied], u'', <lambda>, u'')
 
 Now, let's put an object under version control and verify that we can
 determine that fact by checking against the interface:



More information about the Zope3-Checkins mailing list