Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/modulesets/patches/pygobject-pylint.patch
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-06-12 18:42:30 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-06-12 18:42:30 (GMT)
commit2140cf097e8a664f005267b4877aa7fe9d3dcba2 (patch)
tree1072133a6b1148696b4eb4c856d19a146ff8484d /config/modulesets/patches/pygobject-pylint.patch
parent6d4b6e0053c45ee973a5b8b2211778ef13feb8af (diff)
Redo: Fix the pylint output for gobject
Diffstat (limited to 'config/modulesets/patches/pygobject-pylint.patch')
-rw-r--r--config/modulesets/patches/pygobject-pylint.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/modulesets/patches/pygobject-pylint.patch b/config/modulesets/patches/pygobject-pylint.patch
new file mode 100644
index 0000000..8e4ff97
--- /dev/null
+++ b/config/modulesets/patches/pygobject-pylint.patch
@@ -0,0 +1,16 @@
+Index: gobject/gobjectmodule.c
+===================================================================
+--- gobject/gobjectmodule.c (revision 776)
++++ gobject/gobjectmodule.c (working copy)
+@@ -3611,7 +3611,10 @@
+ return;
+ descr = PyObject_New(PyObject, &PyGPropsDescr_Type);
+ PyDict_SetItemString(PyGObject_Type.tp_dict, "props", descr);
+-
++ PyDict_SetItemString(PyGObject_Type.tp_dict, "__module__",
++ o=PyString_FromString("gobject._gobject"));
++ Py_DECREF(o);
++
+ REGISTER_GTYPE(d, PyGInterface_Type, "GInterface", G_TYPE_INTERFACE);
+ PyDict_SetItemString(PyGInterface_Type.tp_dict, "__doc__",
+ pyg_object_descr_doc_get());