-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/08/2010 09:07 AM, Wichert Akkerman wrote:
> I have some code (from Chris) which rebuilds a repoze.catalog instance. 
> It uses a very simple algorithm:
> 
>    catalog.clear()
>    for each obj in root:
>       index object
>       if object is folderish:
>           process al its children
> 
> unfortunately there is one problem with this code: any stale items in 
> catalog.document_map are not cleared, so there is still cruft remaining 
> after rebuilding the catalog. Can that be considered to be a bug?

Seems like a bug to me.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzYEWsACgkQ+gerLs4ltQ4M9ACgsAvI0VVLLk/t8wpECH48A7Jw
tfIAoLb+uT3oMJTEv8jJunnUnnWgn6iv
=elHn
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to