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:
authorMarco Pesenti Gritti <mpg@redhat.com>2008-04-20 01:18:02 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2008-04-20 01:18:02 (GMT)
commit66de7eb63fba3f16c97ae92ab3ede6c3e31d7d1a (patch)
tree28cd53f09f69ca3bddb07864c7a47ef3f4b0164a /config/modulesets/patches/pygobject-pylint.patch
parent41710698a04c20e566fcb2c152802c1e38cb6316 (diff)
Revert to pygobject tarball and apply the pylint patch.
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());