Update files in windows directory so it compiles under python3 (print
statements and except and raise).
This commit is contained in:
@ -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)
|
Reference in New Issue
Block a user