fix for demandimport
This commit is contained in:
parent
4cffef6be2
commit
54a2e4f5ae
2 changed files with 3 additions and 1 deletions
|
@ -50,6 +50,7 @@ try:
|
||||||
SystemParametersInfo = ctypes.windll.user32.SystemParametersInfoW
|
SystemParametersInfo = ctypes.windll.user32.SystemParametersInfoW
|
||||||
else: # unix
|
else: # unix
|
||||||
from common import idle
|
from common import idle
|
||||||
|
idle.xss_available
|
||||||
except Exception:
|
except Exception:
|
||||||
gajim.log.debug('Unable to load idle module')
|
gajim.log.debug('Unable to load idle module')
|
||||||
SUPPORTED = False
|
SUPPORTED = False
|
||||||
|
|
|
@ -39,7 +39,8 @@ from common import demandimport
|
||||||
demandimport.enable()
|
demandimport.enable()
|
||||||
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
|
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
|
||||||
'logging.NullHandler', 'dbus.glib', 'dbus.service',
|
'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 os
|
||||||
import sys
|
import sys
|
||||||
|
|
Loading…
Add table
Reference in a new issue