[Zope3-dev] Unused local variable?

Fred Drake fdrake at gmail.com
Tue Jul 11 18:24:38 EDT 2006


On 7/11/06, Chris Withers <chris at simplistix.co.uk> wrote:
> Puzzling as to what this chunk of code:
>
>              if msgid.domain != self.domain:
>                  util = getUtility(ITranslationDomain, msgid.domain)

I don't see it being used either.  I suspect those two lines can be
removed.  :-)


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Every sin is the result of a collaboration." --Lucius Annaeus Seneca


More information about the Zope3-dev mailing list