summaryrefslogtreecommitdiff
path: root/src/leap/crypto
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-24 18:47:41 +0900
committerkali <kali@leap.se>2013-01-24 18:47:41 +0900
commit9cdc193c587631986e579c1ba37a8b982be01238 (patch)
tree7d1d0b15a10e8ff4e21ca09633781bc471593976 /src/leap/crypto
parent26d1849415402a5aa826c57519d40a19cc67c059 (diff)
all tests green again
plus: * added soledad test requirements * removed soledad from run_tests run (+1K tests failing) * added option to run All tests to run_tests script * pep8 cleanup
Diffstat (limited to 'src/leap/crypto')
-rw-r--r--src/leap/crypto/__init__.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/leap/crypto/__init__.py b/src/leap/crypto/__init__.py
index 8df3fc6c..e69de29b 100644
--- a/src/leap/crypto/__init__.py
+++ b/src/leap/crypto/__init__.py
@@ -1,26 +0,0 @@
-"""
-DEBUG! ----------- gnutls lib: libgnutls.26.dylib
-DEBUG! ----------- gnutls lib: /usr/local/lib/libgnutls.26.dylib
-DEBUG! ----------- gnutls lib: /opt/local/lib/libgnutls.26.dylib
-DEBUG! ----------- gnutls lib: libgnutls-extra.26.dylib
-DEBUG! ----------- gnutls lib: /usr/local/lib/libgnutls-extra.26.dylib
-DEBUG! ----------- gnutls lib: /opt/local/lib/libgnutls-extra.26.dylib
-"""
-import sys
-
-# hackaround pyinstaller ctypes dependencies discovery
-# See:
-# http://www.pyinstaller.org/wiki/Features/CtypesDependencySupport#SolutioninPyInstaller
-# gnutls.library.load_library is using a style of dep loading
-# unsupported by pyinstaller. So we force these imports here.
-
-if sys.platform == "darwin":
- from ctypes import CDLL
- try:
- CDLL("libgnutls.26.dylib")
- except OSError:
- pass
- try:
- CDLL("libgnutls-extra.26.dylib")
- except OSError:
- pass