fix for demandimport

This commit is contained in:
Denis Fomin 2010-12-18 12:42:15 +03:00
parent 4cffef6be2
commit 54a2e4f5ae
2 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,7 @@ try:
SystemParametersInfo = ctypes.windll.user32.SystemParametersInfoW
else: # unix
from common import idle
idle.xss_available
except Exception:
gajim.log.debug('Unable to load idle module')
SUPPORTED = False

View File

@ -39,7 +39,8 @@ from common import demandimport
demandimport.enable()
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
'logging.NullHandler', 'dbus.glib', 'dbus.service',
'command_system.implementation.standard', 'OpenSSL.SSL', 'OpenSSL.crypto']
'command_system.implementation.standard', 'OpenSSL.SSL', 'OpenSSL.crypto',
'common.sleepy']
import os
import sys