[Zope-dev] Re: SVN: zope.component/ Merge wichert-utility-factories branch to trunk

Christian Theune ct at gocept.com
Fri Jul 25 12:18:01 EDT 2008


On Fri, 2008-07-25 at 16:58 +0100, Chris Withers wrote:
> Wichert Akkerman wrote:
> >> -        if (self._utility_registrations.get((provided, name))
> >> +        if (self._utility_registrations.get((provided, name)[:2]) 
> > 
> > Excellent catch, fixed.
> 
> With a test I hope?

Uh. Lol?

To me this looks like an inefficiency that's gonna be hard to test from
the outside. Or did I miss anything?

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20080725/274534b8/attachment.bin


More information about the Zope-Dev mailing list