Re: Execution error on Meld 1.2.1



Looks like a python2.4/2.5 parser difference.

You can always assign to a temporary
     idx = 1 if len(files) >= 2 else 0
     self.textview[idx].grab_focus()

I don't have a  way to test with v2.4 unfortunately so there may be
more issues similar to this one

Stephen.

2008/11/24 Joe Bell <joe bell prodeasystems com>:
> I am trying to run with meld 1.2.1 and Python 2.4.3 (#1, May 24 2008,
> 13:47:28).
>
>
>     self.textview[1 if len(files) >= 2 else 0].grab_focus()
>
>                      ^
>
> SyntaxError: invalid syntax
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]