[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/component/globalregistry.py clarify deprecation message a bit.

Philipp von Weitershausen philikon at philikon.de
Wed Apr 12 11:15:03 EDT 2006


Log message for revision 66896:
  clarify deprecation message a bit.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/component/globalregistry.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/component/globalregistry.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/component/globalregistry.py	2006-04-12 15:12:58 UTC (rev 66895)
+++ Zope3/branches/jim-adapter/src/zope/component/globalregistry.py	2006-04-12 15:15:02 UTC (rev 66896)
@@ -103,7 +103,8 @@
         self.registerAdapter(factory, required, provided, name, info)
 
     @deprecate("The subscribe method of the global site manager has been "
-               "deprecated. Use registerHandler instead.")
+               "deprecated. Use registerHandler or registerSubscriptionAdapter "
+               "instead.")
     def subscribe(self, required, provided, factory, info=''):
         if provided is None:
             self.registerHandler(factory, required, u'', info)



More information about the Zope3-Checkins mailing list