[Checkins] SVN: Products.CMFCore/branches/2.1/Products/CMFCore/ Fixed typo in the acquisition wrapping of the found utility in getToolByName.

Maurits van Rees m.van.rees at zestsoftware.nl
Wed May 27 18:55:20 EDT 2009


Log message for revision 100494:
  Fixed typo in the acquisition wrapping of the found utility in getToolByName.
  

Changed:
  U   Products.CMFCore/branches/2.1/Products/CMFCore/CHANGES.txt
  U   Products.CMFCore/branches/2.1/Products/CMFCore/utils.py

-=-
Modified: Products.CMFCore/branches/2.1/Products/CMFCore/CHANGES.txt
===================================================================
--- Products.CMFCore/branches/2.1/Products/CMFCore/CHANGES.txt	2009-05-27 21:01:42 UTC (rev 100493)
+++ Products.CMFCore/branches/2.1/Products/CMFCore/CHANGES.txt	2009-05-27 22:55:20 UTC (rev 100494)
@@ -4,6 +4,9 @@
 2.1.3-beta (unreleased)
 -----------------------
 
+- Fixed typo in the acquisition wrapping of the found utility in
+  getToolByName.
+
 - ActionsTool: The "Action Providers" tab in the ZMI did not render
   actions from the WorkflowTool correctly since those are not 
   "new-style" actions.

Modified: Products.CMFCore/branches/2.1/Products/CMFCore/utils.py
===================================================================
--- Products.CMFCore/branches/2.1/Products/CMFCore/utils.py	2009-05-27 21:01:42 UTC (rev 100493)
+++ Products.CMFCore/branches/2.1/Products/CMFCore/utils.py	2009-05-27 22:55:20 UTC (rev 100494)
@@ -105,7 +105,7 @@
             if IAcquirer.providedBy(obj) and \
                     aq_parent(utility) is None and \
                     IAcquirer.providedBy(utility):
-                utilty = utility.__of__(obj)
+                utility = utility.__of__(obj)
             return utility
         except ComponentLookupError:
             # behave in backwards-compatible way



More information about the Checkins mailing list