[CMF-checkins] SVN: CMF/trunk/CMFCore/utils.py forward ported
r74750 from the 2.1 branch:
Yvo Schubbe
y.2007- at wcm-solutions.de
Tue Jun 26 02:41:24 EDT 2007
Log message for revision 77090:
forward ported r74750 from the 2.1 branch:
- Undeprecate getToolByName.
Changed:
U CMF/trunk/CMFCore/utils.py
-=-
Modified: CMF/trunk/CMFCore/utils.py
===================================================================
--- CMF/trunk/CMFCore/utils.py 2007-06-26 03:27:56 UTC (rev 77089)
+++ CMF/trunk/CMFCore/utils.py 2007-06-26 06:41:24 UTC (rev 77090)
@@ -99,10 +99,6 @@
tool_interface = _tool_interface_registry.get(name)
if tool_interface is not None:
- warn('getToolByName is deprecated and will be removed in '
- 'CMF 2.3, please use "getUtility(%s)"' % (
- tool_interface.__name__), DeprecationWarning, stacklevel=2)
-
try:
return getUtility(tool_interface)
except ComponentLookupError:
More information about the CMF-checkins
mailing list