24 Jul
2008
24 Jul
'08
5:45 p.m.
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<wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.