Update files in windows directory so it compiles under python3 (print

statements and except and raise).
This commit is contained in:
kulath
2016-08-22 15:48:17 +01:00
parent 5e459e4541
commit 6204bbb8b1
5 changed files with 208 additions and 208 deletions

View File

@ -44,7 +44,7 @@ try:
gobjectver_str = 'found %d.%d.%d' % GObject.pygobject_version
except :# any failure to 'get' the version
gobjectver_str = 'unknown version'
except ImportError:
gobjectver_str = 'not found'
@ -55,12 +55,12 @@ try:
cairover_str = 'found %d.%d.%d' % cairo.version_info
except :# any failure to 'get' the version
cairover_str = 'unknown version'
except ImportError:
cairover_str = 'not found'
print 'python:%s;'%py_str
print 'gtk++:%s;'%gtkver_str
print 'pygtk:%s;'%pygtkver_str
print 'gobject:%s;'%gobjectver_str
print 'cairo:%s;'%cairover_str
print('python:%s;'%py_str)
print('gtk++:%s;'%gtkver_str)
print('pygtk:%s;'%pygtkver_str)
print('gobject:%s;'%gobjectver_str)
print('cairo:%s;'%cairover_str)