From 74ed5acf7d2bc7c0641e94bbd622fdcf45a218a4 Mon Sep 17 00:00:00 2001 From: Jimbo77 Date: Sun, 18 Nov 2012 22:56:32 -0800 Subject: [PATCH] added docstring for is_modifiable() --- lib/simple_config.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib/simple_config.py b/lib/simple_config.py index 31e9571..e4b22ed 100644 --- 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): -- 1.7.1