improve demandimport usage

This commit is contained in:
Yann Leboulanger 2011-06-22 20:33:19 +02:00
parent 53a452fc1c
commit 721defabc3
2 changed files with 2 additions and 3 deletions

View File

@ -166,7 +166,7 @@ HAVE_LATEX = False
HAVE_FARSIGHT = True
try:
import farsight
farsight = __import__('farsight')
import gst
import glib
try:

View File

@ -40,8 +40,7 @@ demandimport.enable()
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
'logging.NullHandler', 'dbus.glib', 'dbus.service',
'command_system.implementation.standard', 'OpenSSL.SSL', 'OpenSSL.crypto',
'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic',
'farsight']
'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic']
import os
import sys