[Zope-CMF] object does not support item deletion

Chris Withers chrisw@nipltd.com
Thu, 19 Apr 2001 15:39:17 +0100


Chris McDonough wrote:
> 
>           # Compute "sort_index", which is a sort index, or none:
>           if kw.has_key('sort-on'):
>               sort_index=kw['sort-on']
> -             del kw['sort-on']

Surely you added that del in for a reason though?

cheers,

Chris