[gcompris-devel] bargame.py : invalid syntax

Bruno Coudoin bruno.coudoin at free.fr
Sun Feb 1 21:19:58 UTC 2009


Le dimanche 01 février 2009 à 18:26 +0100, miguel2i at free.fr a écrit :
> I have got :
> 
> File "src/boards/python/bargame.py", line 522 
>   if event.type == gtk.gdk.LEAVE_NOTIFY else None  )
>      ^
> SyntaxError: invalid syntax
> 

This is a bug I introduced recently from a patch I got by an Israeli
group that made a GCompris live cd:
http://www.qiryat-gat.muni.il/Index.asp?ArticleID=523&CategoryID=557

Sadly, this patch is not compatible with python 2.4. I just commited a
fix.

Bruno.







More information about the Gcompris-devel mailing list