[Zope3-dev] Unused local variable?

Chris Withers chris at simplistix.co.uk
Tue Jul 11 17:24:01 EDT 2006


Hi All,

Puzzling as to what this chunk of code:

             if msgid.domain != self.domain:
                 util = getUtility(ITranslationDomain, msgid.domain)

..from:
http://svn.zope.org/Zope3/trunk/src/zope/i18n/translationdomain.py?rev=68771&view=auto

...is supposed to do? util isn't used anywhere as far as I can see...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope3-dev mailing list