improve demandimport usage
This commit is contained in:
		
							parent
							
								
									53a452fc1c
								
							
						
					
					
						commit
						721defabc3
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -166,7 +166,7 @@ HAVE_LATEX = False | |||
| 
 | ||||
| HAVE_FARSIGHT = True | ||||
| try: | ||||
|     import farsight | ||||
|     farsight = __import__('farsight') | ||||
|     import gst | ||||
|     import glib | ||||
|     try: | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue