[CMF-checkins] CVS: CMF/CMFCore - ActionProviderBase.py:1.11

Tres Seaver tseaver@zope.com
Sat, 6 Jul 2002 12:52:05 -0400


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv13337/CMFCore

Modified Files:
	ActionProviderBase.py 
Log Message:
 - Fix typos.

=== CMF/CMFCore/ActionProviderBase.py 1.10 => 1.11 ===
             new_actions[idx] = a
 
-        self._actions = tuple( actions )
+        self._actions = tuple( new_actions )
 
         if REQUEST is not None:
             return self.manage_editActionsForm(
@@ -209,7 +209,7 @@
                 # Wrap to the top.
                 idx2 = 0
             # Swap.
-            a = actions[idx2]
+            a = new_actions[idx2]
             new_actions[idx2] = new_actions[idx]
             new_actions[idx] = a