[Zope-Checkins] CVS: Zope/lib/python/OFS - OrderSupport.py:1.2.2.1

Yvo Schubbe schubbe at web.de
Thu Aug 7 18:33:59 EDT 2003


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv327/lib/python/OFS

Modified Files:
      Tag: Zope-2_7-branch
	OrderSupport.py 
Log Message:
Fixed default delta in ZMI methods.

=== Zope/lib/python/OFS/OrderSupport.py 1.2 => 1.2.2.1 ===
--- Zope/lib/python/OFS/OrderSupport.py:1.2	Thu Jun 12 06:20:59 2003
+++ Zope/lib/python/OFS/OrderSupport.py	Thu Aug  7 17:33:55 2003
@@ -54,7 +54,7 @@
     #
 
     security.declareProtected(manage_properties, 'manage_move_objects_up')
-    def manage_move_objects_up(self, REQUEST, ids=None, delta=None):
+    def manage_move_objects_up(self, REQUEST, ids=None, delta=1):
         """ Move specified sub-objects up by delta in container.
         """
         if ids:
@@ -70,7 +70,7 @@
                                 manage_tabs_message=message)
 
     security.declareProtected(manage_properties, 'manage_move_objects_down')
-    def manage_move_objects_down(self, REQUEST, ids=None, delta=None):
+    def manage_move_objects_down(self, REQUEST, ids=None, delta=1):
         """ Move specified sub-objects down by delta in container.
         """
         if ids:




More information about the Zope-Checkins mailing list