electrum

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

commit 4a85b9db62f9fbfe4f763dd680d71389303740e2
parent 0c29027f960049d3fef7b4c8162a34568fc9f86f
Author: Jimbo77 <onlineregular@gmail.com>
Date:   Sun, 18 Nov 2012 20:30:56 -0800

wrote docstring for get()

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 @@ -58,6 +58,7 @@ class SimpleConfig: 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 if self.options_config.has_key(key) and self.options_config.get(key) is not None: out = self.options_config.get(key) @@ -101,7 +102,7 @@ class SimpleConfig: def read_system_config(self): - """Parse and store the system config settings in electrum.conf into system_config[]""" + """Parse and store the system config settings in electrum.conf into system_config[].""" name = '/etc/electrum.conf' if os.path.exists(name): try: