[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml Use more specific registration to avoid a deprecation warning

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


Log message for revision 66308:
  Use more specific registration to avoid a deprecation warning
  resulting from processing events of undesired type.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml	2006-04-02 16:59:31 UTC (rev 66307)
+++ Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml	2006-04-02 16:59:33 UTC (rev 66308)
@@ -9,12 +9,14 @@
   </localUtility>
 
   <subscriber
-     for="..component.interfaces.registration.IRegistrationActivatedEvent"
+     for="zope.component.interfaces.IUtilityRegistration
+          zope.component.interfaces.IRegistrationActivatedEvent"
      handler=".manager.setNameOnActivation"
      />
 
   <subscriber
-     for="..component.interfaces.registration.IRegistrationDeactivatedEvent"
+     for="zope.component.interfaces.IUtilityRegistration
+          zope.component.interfaces.IRegistrationDeactivatedEvent"
      handler=".manager.unsetNameOnDeactivation"
      />
 



More information about the Zope3-Checkins mailing list