Get a variable from the config (optional: only get vars from the specified section). Definition at line 177 of file utils.py. 00177 : """Get a variable from the config (optional: only get vars from the specified section).""" if section != '': l = self.sections[section] else: l = self.options for o in l: if o[0] == name: return o[1] return None def has_section (self, name):
|