electrum

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

commit 74ed5acf7d2bc7c0641e94bbd622fdcf45a218a4
parent c4955ebddda1924eba994d0256ebf7737826004a
Author: Jimbo77 <onlineregular@gmail.com>
Date:   Sun, 18 Nov 2012 22:56:32 -0800

added docstring for is_modifiable()

Diffstat:
Mlib/simple_config.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/simple_config.py b/lib/simple_config.py @@ -66,7 +66,7 @@ a SimpleConfig instance then reads the wallet file. def get(self, key, default=None): """Retrieve the filepath of the configuration file specified in the 'key' parameter.""" - # 1. command-line options always override everything +# 1. command-line options always override everything if self.options_config.has_key(key) and self.options_config.get(key) is not None: out = self.options_config.get(key) @@ -98,6 +98,7 @@ a SimpleConfig instance then reads the wallet file. def is_modifiable(self, key): + """Check if the config file is modifiable.""" if self.options_config.has_key(key): return False elif self.user_config.has_key(key):