GNOME Bugzilla – Bug 654001
pygi-convert doesn't handle the import of pygtk
Last modified: 2011-08-15 17:02:38 UTC
The pygi-convert.sh script doesn't remove/edit the import of pygtk. In the attached patch, the following cases will be handled: - import pygtk - pygtk.require('2.0') - import pygtk; pygtk.require('2.0') + import gi + gi.require_version('Gtk', '3.0') + import gi; gi.require_version('Gtk', '3.0')
Created attachment 191304 [details] [review] Handle the import of pygtk
Thanks for the patch, I just committed it to master.