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

2007-02-19 Thread kjcsb
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' I have two instances of Zope running. On Zope 2.8.2-final, python 2.3.5,

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

2007-02-19 Thread Andreas Jung
--On 19. Februar 2007 22:18:38 +1300 kjcsb [EMAIL PROTECTED] 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'

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

2007-02-19 Thread Dieter Maurer
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