twrote docstring for get() - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 4a85b9db62f9fbfe4f763dd680d71389303740e2
DIR parent 0c29027f960049d3fef7b4c8162a34568fc9f86f
HTML Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 18 Nov 2012 20:30:56 -0800
wrote docstring for get()
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@@ -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)
t@@ -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: