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 _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
