fix distcheck

Original commit message from CVS:
fix distcheck
This commit is contained in:
Thomas Vander Stichele 2005-09-02 10:56:19 +00:00
parent 51a7c6de63
commit 03203aa89e
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ EXTRA_DIST = \
include $(top_srcdir)/common/release.mak
pygst.py: pygst.py.in Makefile
pygst.py: $(top_srcdir)/pygst.py.in Makefile
if test -f $@; then chmod +w $@; fi
sed -e "s|@PYGSTDIR\@|$(shell pwd)|g" \
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \

View file

@ -75,12 +75,13 @@ class Fraction(Value):
return '<gst.Fraction %d/%d>' % (self.num, self.denom)
from _gst import *
import interfaces
# this restores previously installed importhooks, so we don't interfere
# with other people's module importers
# it also clears out the module completely as if it were never loaded,
# so that if anyone else imports ltihooks the hooks get installed
if __ltihooks_used__:
import gst.interfaces as interfaces
ltihooks.uninstall()
__ltihooks_used__ = False
del ltihooks