Jacob Holm wrote:
Hello

This checkin contains the following change to zope.component/trunk/src/zope/component/registry.py which looks wrong to me (it's a noop). It looks to me as if the [:2] should move outside the ")" following it. I am surprised that this doesn't break any tests, as it means that reregistrations are not detected as such.

-        if (self._utility_registrations.get((provided, name))
+ if (self._utility_registrations.get((provided, name)[:2])

Excellent catch, fixed.

Wichert.

--
Wichert Akkerman<[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to