electrum

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

commit 3ef3bebeb37d5d89821209334eec62c7bb3063af
parent 4120678dffbf4a02df903c4dc8aa95b1eb01c333
Author: ThomasV <thomasv@gitorious>
Date:   Tue, 27 Jan 2015 10:12:44 +0100

print debug message with ca bundle status

Diffstat:
Melectrum | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrum b/electrum @@ -81,11 +81,10 @@ if is_bundle or is_local or is_android: from electrum import util from electrum import SimpleConfig, Network, Wallet, WalletStorage, NetworkProxy, Commands, known_commands, pick_random_server -from electrum.util import print_msg, print_stderr, print_json, set_verbosity, InvalidPassword +from electrum.util import print_msg, print_error, print_stderr, print_json, set_verbosity, InvalidPassword from electrum.daemon import get_daemon from electrum.plugins import init_plugins -#print_msg("ca_bundle", requests.utils.DEFAULT_CA_BUNDLE_PATH, os.path.exists(requests.utils.DEFAULT_CA_BUNDLE_PATH)) # get password routine def prompt_password(prompt, confirm=True): @@ -210,6 +209,7 @@ if __name__ == '__main__': set_verbosity(config_options.get('verbose')) config = SimpleConfig(config_options) + print_error("CA bundle:", requests.utils.DEFAULT_CA_BUNDLE_PATH, "found" if os.path.exists(requests.utils.DEFAULT_CA_BUNDLE_PATH) else "not found") if len(args) == 0: url = None