[Zope] ZCatalog results.

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Sat, 23 Feb 2002 21:35:04 +0300


On Sat, Feb 23, 2002 at 01:08:11PM +0100, Frank Tegtmeyer wrote:
> for result in results:
>    if result.objectID not in seen:

   Instead of "seen" just use dictionary.

Oleg.
-- 
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.