[Zope3-checkins] SVN: Zope3/trunk/ - removed duplicate definition
of provide*
Christian Theune
ct at gocept.com
Tue Sep 5 17:27:22 EDT 2006
Log message for revision 69981:
- removed duplicate definition of provide*
Changed:
U Zope3/trunk/doc/CHANGES.txt
U Zope3/trunk/src/zope/component/globalregistry.py
-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt 2006-09-05 21:25:20 UTC (rev 69980)
+++ Zope3/trunk/doc/CHANGES.txt 2006-09-05 21:27:21 UTC (rev 69981)
@@ -35,6 +35,9 @@
- Removed some cruft from pre-3.0 page templates (The concept of `usage`
was removed back then already.)
+ - Removed double definition of convenience methods in
+ zope.component.globalregistry
+
Bug fixes
- Fixed issue 705, double URL unquoting of GET parameters in
Modified: Zope3/trunk/src/zope/component/globalregistry.py
===================================================================
--- Zope3/trunk/src/zope/component/globalregistry.py 2006-09-05 21:25:20 UTC (rev 69980)
+++ Zope3/trunk/src/zope/component/globalregistry.py 2006-09-05 21:27:21 UTC (rev 69981)
@@ -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