tgot rid of print_error - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 25ad5fcd06e09bf9f59905dd78a9ee0b3857c655
DIR parent a6239764d236beb955e54c8b6043f73e8ca8a2e9
HTML Author: Jimbo77 <onlineregular@gmail.com>
Date: Thu, 23 Aug 2012 18:38:28 -0700
got rid of print_error
Diffstat:
M lib/wallet.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -166,8 +166,7 @@ def prompt_password(prompt, confirm=True):
password2 = getpass.getpass("Confirm: ")
if password != password2:
- print_error("Error: Passwords do not match.")
- sys.exit(1)
+ sys.exit("Error: Passwords do not match.")
else:
password = raw_input(prompt)