from pylons.i18n import _

Regards,
Patrick

On Fri, Dec 17, 2010 at 7:29 PM, jose soares <[email protected]>wrote:

> Toshio Kuratomi said: "You can, though, explicitly import the _ function.
>  turbogears happens to
> add it to globals which is why it works (and pylint doesn't know about
> it)..."
> --------------
> Your suggest is good Toshio, but I don't know in wich package it is.
>
> j
>
>
>
> jo wrote:
>
>> Hi all,
>>
>> Is there a way to avoid error messages using pylint or pyflakes on
>> turbogears _() function?
>>
>> pylints says this:
>>
>> E0602: 68:EditFields: Undefined variable '_'
>>
>> and pyflakes:
>>
>> myfile.py:99: undefined name '_'
>>
>>
>> thank you for any help,
>>
>> j
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<turbogears%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to