[CMF-checkins] CVS: CMF - reverseList.py:1.1
andrew@digicool.com
andrew@digicool.com
Wed, 20 Jun 2001 14:46:58 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDecor/skins/zpt_control
In directory korak.digicool.com:/tmp/cvs-serv19525
Added Files:
reverseList.py
Log Message:
*python script to hand the list reversals in pagetemplates.
--- Added File reverseList.py in package CMF ---
## Script (Python) "reverseList.py $Revision: 1.1 $"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=aList
##title=Reverse A List or Tuple and Return it
##
myList=list(aList)[:]
myList.reverse()
return myList