tadded docstring for is_modifiable() - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 74ed5acf7d2bc7c0641e94bbd622fdcf45a218a4 DIR parent c4955ebddda1924eba994d0256ebf7737826004a HTML Author: Jimbo77 <onlineregular@gmail.com> Date: Sun, 18 Nov 2012 22:56:32 -0800 added docstring for is_modifiable() Diffstat: M lib/simple_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/simple_config.py b/lib/simple_config.py t@@ -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) t@@ -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):