try pyasn1-modules as well
authorThomasV <thomasv@gitorious>
Mon, 30 Jun 2014 16:12:39 +0000 (18:12 +0200)
committerThomasV <thomasv@gitorious>
Mon, 30 Jun 2014 16:12:39 +0000 (18:12 +0200)
electrum
lib/x509.py

index 8b004b3..146ef3a 100755 (executable)
--- 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)
 
 
index e2021df..e9cc857 100644 (file)
@@ -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'")