[Zope-CVS] Re: CVS: Products/BTreeFolder2 - BTreeFolder2.py:1.25

Casey Duncan casey at zope.com
Wed Mar 17 09:30:11 EST 2004


On Tue, 16 Mar 2004 23:05:43 -0500
Shane Hathaway <shane at zope.com> wrote:
> @@ -226,7 +227,7 @@
>          self._count.change(1)
>          # Update the meta type index.
>          mti = self._mt_index
> -        meta_type = getattr(object, 'meta_type', None)
> +        meta_type = getattr(object.__class__, 'meta_type', None)
>          if meta_type is not None:
>              ids = mti.get(meta_type, None)
>              if ids is None:

This is clever, but are you sure this is never set per instance? I don't
think I ever done it, but it might be surprising to some hapless soul
<shrug>.

Are you still planning on tinkering with this stuff when you're back in
Utah? (/me hopes so)

-Casey




More information about the Zope-CVS mailing list