commit f635c5110c95b216a087906526877c7e5cbb85e5
parent 20060a117782f1eae30ed5b9d47ee9942e0f46b3
Author: ThomasV <thomasv@gitorious>
Date: Mon, 30 Jun 2014 18:12:39 +0200
try pyasn1-modules as well
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -95,7 +95,7 @@ def print_help(parser):
parser.print_help()
print_msg("Type 'electrum help <command>' to see the help for a specific command")
print_msg("Type 'electrum --help' to see the list of options")
- run_command(known_commands['help'])
+ #run_command(known_commands['help'])
sys.exit(1)
diff --git a/lib/x509.py b/lib/x509.py
@@ -26,6 +26,11 @@ except ImportError:
sys.exit("Error: pyasn1 does not seem to be installed. Try 'sudo pip install pyasn1'")
try:
+ import pyasn1_modules
+except ImportError:
+ sys.exit("Error: pyasn1 does not seem to be installed. Try 'sudo pip install pyasn1-modules'")
+
+try:
import tlslite
except ImportError:
sys.exit("Error: tlslite does not seem to be installed. Try 'sudo pip install tlslite'")