simon
unread,Jun 1, 2011, 2:17:41 PM6/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pesto
Hi,
MultiDict.__delitem__ in pesto-23 seems to be broken. When I call
del myMultiDict[key]
I get
File "/usr/local/x/lib/python2.6/site-packages/pesto/utils.py", line
114, in __delitem__
self._items = [(k, v) for k, v in self.items if k != key]
TypeError: 'instancemethod' object is not iterable
Patching that line to read
self._items = [(k, v) for k, v in self._items if k != key]
seems to fix it.
Cheers, Simon