tgot rid of another unneeded print_error() - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 1829d20d720ad6f20d0d62fcd52fc467aa0b6aa5
DIR parent e5bbb467823d6f90adb493844437e4494a6562a5
HTML Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 19 Aug 2012 17:16:35 -0700
got rid of another unneeded print_error()
Diffstat:
M electrum | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
DIR diff --git a/electrum b/electrum
t@@ -198,10 +198,9 @@ if __name__ == '__main__':
if cmd in ['create', 'restore']:
if wallet.file_exists:
- print_error("Error: Remove the existing wallet first!")
- sys.stderr.flush()
- sys.exit(0)
- password = prompt_password("Password (hit return if you do not wish to encrypt your wallet):")
+ sys.exit("Error: Remove the existing wallet first!")
+
+ password = prompt_password("Password (hit return if you do not wish to encrypt your wallet):")
w_host, w_port, w_protocol = wallet.server.split(':')
host = raw_input("server (default:%s):"%w_host)