Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
58341e97 by Yann Leboulanger at 2016-12-17T13:31:37+01:00
correctly check if python-gnupg is installed

- - - - -


1 changed file:

- src/common/gajim.py


Changes:

=====================================
src/common/gajim.py
=====================================
--- a/src/common/gajim.py
+++ b/src/common/gajim.py
@@ -162,7 +162,7 @@ except ImportError:
 HAVE_GPG = True
 GPG_BINARY = 'gpg'
 try:
-    __import__('gnupg', globals(), locals(), [], 0)
+    __import__('gnupg')
 except ImportError:
     HAVE_GPG = False
 else:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/58341e9742d384eb6c76b258b5f2cd9feeb7d343
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to