[Zope] Error Value: 'Set' object has no attribute 'count'
Dieter Maurer
dieter at handshake.de
Mon Feb 19 13:28:59 EST 2007
kjcsb wrote at 2007-2-19 22:18 +1300:
>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'
Apparently "string" is a "Set" object in your context
and not the "string" module as you expect.
--
Dieter
More information about the Zope
mailing list