summaryrefslogtreecommitdiff
path: root/keymanager
diff options
context:
space:
mode:
authorKali Kaneko <kali@futeisha.org>2013-10-09 13:03:30 -0300
committerKali Kaneko <kali@futeisha.org>2013-10-09 13:03:30 -0300
commitabb91dd3af9aa28eb998546fbd4e3c6feaa3bdbd (patch)
tree597226b12e18cd98bcc430b998f9b8595af1a343 /keymanager
parent2ba4b1638020346567358e803452dc42925d97ab (diff)
fix exception catching
Diffstat (limited to 'keymanager')
-rw-r--r--keymanager/src/leap/keymanager/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/keymanager/src/leap/keymanager/__init__.py b/keymanager/src/leap/keymanager/__init__.py
index f2cffd5..a550598 100644
--- a/keymanager/src/leap/keymanager/__init__.py
+++ b/keymanager/src/leap/keymanager/__init__.py
@@ -27,14 +27,17 @@ try:
from distutils.version import LooseVersion as V
assert(V(__version__) >= V('1.2.3'))
-except ImportError, AssertionError:
+except (ImportError, AssertionError):
+ print "*******"
print "Ooops! It looks like there is a conflict in the installed version "
print "of gnupg."
+ print
print "Disclaimer: Ideally, we would need to work a patch and propose the "
print "merge to upstream. But until then do: "
print
print "% pip uninstall python-gnupg"
print "% pip install gnupg"
+ print "*******"
sys.exit(1)
import logging