GNOME Bugzilla – Bug 356556
dsextras.py imports functionality that has been removed from codegen
Last modified: 2006-09-25 12:54:54 UTC
Please describe the problem: dsextras.py in the pygobject module tries to import write_source from the codegen module, which has been refactored into a SourceWriter object. Attached is a patch that corrects this issue, by changing the code to not import write_source, import SourceWriter, and instaniate a SourceWriter object instead of calling write_source. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 72985 [details] [review] Patch
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/pygobject/+bug/57182
*** This bug has been marked as a duplicate of 353849 ***