Ignore:
Timestamp:
Jan 13, 2012 9:17:01 PM (2 years ago)
Author:
alxf
Message:

Add support for python3 to python bindings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/python/examples/driver.py

    r4712 r4802  
    3232        cv = Canvas(0, 0) 
    3333        dp = Display(cv) 
    34     except (CanvasError, DisplayError), err: 
     34    except (CanvasError, DisplayError) as err: 
    3535        sys.stderr.write("%s\n" % err) 
    3636        sys.exit(127) 
Note: See TracChangeset for help on using the changeset viewer.