From: <jd...@fr...> - 2005-09-29 01:16:34
|
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'] + |