2011/6/17 Jonathan Lundell <[email protected]>
> On Jun 17, 2011, at 2:28 PM, Pierre Thibault wrote:
>
> 2011/6/17 Jose <[email protected]>
>
>> at line 254 (trunk version)
>>
>> if not name.startswith(".") and level <= 0 and globals != None
>> and
>> and not name.startswith("applications."):
>>
>> Jose
>
>
> ?? What do you mean? More information is needed.
>
>
> There are two 'and's in a row. (Also: globals is not None)
>
OK. I think Massimo made an error with the patch. Here is my personal code:
if not name.startswith(".") and level <= 0 \
and not name.startswith("applications.") \
and isinstance(globals, dict):
Massimo, can you correct?
--
A+
-------------
Pierre
My blog and profile
(http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com>
YouTube page
(http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib>
Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2>