tgot rid of print_error() to reduce coupling - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 59b2762258bfab70b7a333272b6a6646cd318906
DIR parent 1eeed7fb27146cb622e3f8090302d4dbba33f4f9
HTML Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 19 Aug 2012 16:00:46 -0700
got rid of print_error() to reduce coupling
Diffstat:
M electrum | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/electrum b/electrum
t@@ -192,8 +192,8 @@ if __name__ == '__main__':
cmd = 'help'
if not wallet.file_exists and cmd not in ['help','create','restore']:
- print_error("Error: Wallet file not found.")
- print_error("Type 'electrum create' to create a new wallet, or provide a path to a wallet with the -w option")
+ print "Error: Wallet file not found."
+ print "Type 'electrum create' to create a new wallet, or provide a path to a wallet with the -w option"
sys.exit(0)
if cmd in ['create', 'restore']: