[Zope] Error Value: 'Set' object has no attribute 'count'

Andreas Jung lists at zopyx.com
Mon Feb 19 04:40:05 EST 2007



--On 19. Februar 2007 22:18:38 +1300 kjcsb <kjcsb at orcon.net.nz> wrote:

> I am getting an error message when Zope is trying to evaluate the
> following:
>
> elif string.count(product_info['product']['options'],'lookup') == 1:
>
> The error message is:
> Error Value: 'Set' object has no attribute 'count'

How reproduce with an out-of-the-box  Zope installation?

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070219/472f0aae/attachment.bin


More information about the Zope mailing list