Skip to content
Snippets Groups Projects
Commit 078abc9b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix __import__ calls

parent fb6240f1
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ except ImportError:
HAVE_GPG = True
try:
__import__('gnupg', globals(), locals(), [], -1)
__import__('gnupg', globals(), locals(), [], 0)
except ImportError:
HAVE_GPG = False
else:
......
......@@ -200,7 +200,7 @@ def get_storage():
global GnomeKeyring
try:
gir = __import__('gi.repository', globals(), locals(),
['GnomeKeyring'], -1)
['GnomeKeyring'], 0)
GnomeKeyring = gir.GnomeKeyring
except ImportError:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment