From d23d4082a761b4a46e063b3500b94c4b3e52028e Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 17 Dec 2011 21:17:32 +0100
Subject: [PATCH] ignore a crypto module from demandimport to make it work
 under windows

---
 src/gajim.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gajim.py b/src/gajim.py
index f7edbf4068..4042f031aa 100644
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -63,12 +63,13 @@ if os.name == 'nt':
         os.environ['PATH'] = ';'.join(new_list)
 
 from common import demandimport
-demandimport.enable()
+#demandimport.enable()
 demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
     'logging.NullHandler', 'dbus.glib', 'dbus.service',
     'command_system.implementation.standard',
     'command_system.implementation.execute', 'OpenSSL.SSL', 'OpenSSL.crypto',
-    'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic']
+    'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic',
+    'Crypto.PublicKey']
 
 if os.name == 'nt':
     import locale
-- 
GitLab