[Zope3-checkins] SVN: Zope3/branches/3.3/ - removed duplicate provide* declarations

Christian Theune ct at gocept.com
Tue Sep 5 17:41:15 EDT 2006


Log message for revision 69983:
   - removed duplicate provide* declarations
  

Changed:
  U   Zope3/branches/3.3/doc/CHANGES.txt
  U   Zope3/branches/3.3/src/zope/component/globalregistry.py

-=-
Modified: Zope3/branches/3.3/doc/CHANGES.txt
===================================================================
--- Zope3/branches/3.3/doc/CHANGES.txt	2006-09-05 21:29:40 UTC (rev 69982)
+++ Zope3/branches/3.3/doc/CHANGES.txt	2006-09-05 21:41:15 UTC (rev 69983)
@@ -28,6 +28,11 @@
         widget with multiple fields and/or fields with the widget name used as
         a prefix for the form elements is shown.
 
+    Restructuring
+
+      - Removed duplicate declarations of provide* convenience methods in
+        zope.component.globalregistry.
+
   Zope 3.3.0b2 (2006/08/18)
 
     New features

Modified: Zope3/branches/3.3/src/zope/component/globalregistry.py
===================================================================
--- Zope3/branches/3.3/src/zope/component/globalregistry.py	2006-09-05 21:29:40 UTC (rev 69982)
+++ Zope3/branches/3.3/src/zope/component/globalregistry.py	2006-09-05 21:41:15 UTC (rev 69983)
@@ -152,11 +152,6 @@
 # We eventually want to deprecate these in favor of using the global
 # component registry directly.
 
-provideUtility = base.registerUtility
-provideAdapter = base.registerAdapter
-provideSubscriptionAdapter = base.registerSubscriptionAdapter
-provideHandler = base.registerHandler
-
 def provideUtility(component, provides=None, name=u''):
     base.registerUtility(component, provides, name, event=False)
 



More information about the Zope3-Checkins mailing list