commit b6c1b22c3536e5e1a36d9d7219511c9ada3ba780 parent ca01e1d7be2e157534b1e179556f95723a1c75f1 Author: ThomasV <thomasv@gitorious> Date: Tue, 3 Feb 2015 12:29:04 +0100 use sys.exit Diffstat:
M | electrum | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/electrum b/electrum @@ -69,8 +69,7 @@ from google.protobuf import descriptor_pb2 try: from ecdsa.ecdsa import curve_secp256k1, generator_secp256k1 except Exception: - print "cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa" - exit() + sys.exit("cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa") # load local module as electrum