electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 6824179eea1d5ab3ca3e0b81b669006938b44bd6
parent 72b4ac97d08a32050fce4be750310be1a7be81cf
Author: thomasv <thomasv@gitorious>
Date:   Tue, 18 Dec 2012 11:56:27 +0100

use stdout in print_msg

Diffstat:
Mlib/util.py | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/util.py b/lib/util.py @@ -58,13 +58,15 @@ def set_verbosity(b): def print_error(*args): if not is_verbose: return - print_msg(*args) + args = [str(item) for item in args] + sys.stderr.write(" ".join(args) + "\n") + sys.stderr.flush() def print_msg(*args): # Stringify args args = [str(item) for item in args] - sys.stderr.write(" ".join(args) + "\n") - sys.stderr.flush() + sys.stdout.write(" ".join(args) + "\n") + sys.stdout.flush() def user_dir():