[gst-devel] Re: [gst-cvs] jdahlin gst-python: gst-python/gst/

Thomas Vander Stichele thomas at apestaart.org
Wed Oct 5 01:58:42 CEST 2005


I'm pretty sure this patch is wrong - if it's not imported, something
else is wrong (Check the code at the top).

I've run into one issue myself that triggered an exception, and it was
because there was an ltihooks.pyc lying around in the wrong directory.

I'm going to revert this, and if it becomes a problem again, let me
know, so we can examine it more closely.

Thomas

On Wed, 2005-09-28 at 18:16 -0700, Johan Dahlin wrote:
> CVS Root:       /cvs/gstreamer
> Module:         gst-python
> Changes by:     jdahlin
> Date:           Wed Sep 28 2005  18:16:33 PDT
> 
> Log message:
> Check if ltihooks is present before trying to delete it
> 
> Modified files:
>     gst             : __init__.py
> 
> Links:
> http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/__init__.py.diff?r1=1.22&r2=1.23
> 
> ====Begin Diffs====
> Index: __init__.py
> ===================================================================
> RCS file: /cvs/gstreamer/gst-python/gst/__init__.py,v
> retrieving revision 1.22
> retrieving revision 1.23
> diff -u -d -r1.22 -r1.23
> --- __init__.py	28 Sep 2005 07:40:15 -0000	1.22
> +++ __init__.py	29 Sep 2005 01:16:21 -0000	1.23
> @@ -88,4 +88,6 @@
>      __ltihooks_used__ = False
>      del ltihooks
>      import sys
> -    del sys.modules['ltihooks']
> +    if 'ltihooks' in sys.modules:
> +        del sys.modules['ltihooks']
> +
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> gstreamer-cvs-verbose mailing list
> gstreamer-cvs-verbose at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
Baby no matter what love's got to offer
I burn myself down to the ground
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/







More information about the gstreamer-devel mailing list