[Checkins] SVN: Products.CMFCore/trunk/Products/CMFCore/ Merged r100494 from branch 2.1:

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


Log message for revision 100495:
  Merged r100494 from branch 2.1:
  fixed typo in the acquisition wrapping of the found utility in getToolByName.
  

Changed:
  U   Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt
  U   Products.CMFCore/trunk/Products/CMFCore/utils.py

-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt	2009-05-27 22:55:20 UTC (rev 100494)
+++ Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt	2009-05-27 22:59:18 UTC (rev 100495)
@@ -4,6 +4,9 @@
 2.2.0 (unreleased)
 ------------------
 
+- Fixed typo in the acquisition wrapping of the found utility in
+  getToolByName.
+
 - Actions: Add a link_target attribute to store a value for the 
   final rendered link tag's "target" attribute
   (https://bugs.launchpad.net/zope-cmf/+bug/376951)

Modified: Products.CMFCore/trunk/Products/CMFCore/utils.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/utils.py	2009-05-27 22:55:20 UTC (rev 100494)
+++ Products.CMFCore/trunk/Products/CMFCore/utils.py	2009-05-27 22:59:18 UTC (rev 100495)
@@ -107,7 +107,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