From: <jd...@fr...> - 2005-03-18 13:06:12
|
CVS Root: /cvs/gstreamer Module: gst-python Changes by: jdahlin Date: Fri Mar 18 2005 05:06:05 PST Log message: Revert last change(s) Modified files: gst : gst.override Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst.override.diff?r1=1.41&r2=1.42 ====Begin Diffs==== Index: gst.override =================================================================== RCS file: /cvs/gstreamer/gst-python/gst/gst.override,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- gst.override 15 Mar 2005 13:20:08 -0000 1.41 +++ gst.override 18 Mar 2005 13:05:53 -0000 1.42 @@ -189,8 +189,8 @@ PyErr_SetString(PyExc_TypeError, "lists are currently unspported"); } - if (v == NULL) - Py_INCREF(Py_None); + if (v != NULL) + Py_INCREF(v); return v; } @@ -242,8 +242,8 @@ if (val == NULL) - Py_INCREF(Py_None); - + val = failobj; + Py_INCREF(val); return val; %% |