[mythtv] [mythtv-commits] mythtv commit: r23358 by wagnerrp

Raymond Wagner raymond at wagnerrp.com
Fri Jan 29 16:40:05 UTC 2010


On 1/29/2010 11:30, freedenizen wrote:
> Ok, reversed the changes, added those 2 lines:
> <string>:3: Warning: 'with' will become a reserved keyword in Python 2.6
> Traceback (most recent call last):
>    File "/usr/local/share/mythtv/mythvideo/scripts/jamu.py", line 469,
> in<module>
>      from MythTV import MythDBConn, DBData, Video, MythVideo,
> MythBEConn, MythBE, FileOps, MythError, MythLog
>    File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 35, in<module>
>
>    File "<string>", line 3
>      with warnings.catch_warnings():
>                  ^
> SyntaxError: invalid syntax
>
> Does that help at all?
>    

I had the version check wrong, and the code for 2.6 was getting run by 
2.5.  Please try the patch attached in the other message.


More information about the mythtv-dev mailing list