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 <[EMAIL PROTECTED]>:
> 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
>
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to