diff options
author | Robert Gogolok <gogo@cs.uni-sb.de> | 2007-12-30 21:49:03 +0000 |
---|---|---|
committer | Robert Gogolok <gogo@cs.uni-sb.de> | 2007-12-30 21:49:03 +0000 |
commit | 2e448e1c338a0cd0071521c47b554213cbe896d5 (patch) | |
tree | 77bf589600fde8969cae1207d48c030c2de2fa50 /src/lib | |
parent | 340c282ef6232a993f5461bf51ccb410b1f1355f (diff) | |
download | bcfg2-2e448e1c338a0cd0071521c47b554213cbe896d5.tar.gz bcfg2-2e448e1c338a0cd0071521c47b554213cbe896d5.tar.bz2 bcfg2-2e448e1c338a0cd0071521c47b554213cbe896d5.zip |
correct indention
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4138 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Settings.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/Settings.py b/src/lib/Settings.py index 44ba3b849..f5092d221 100644 --- a/src/lib/Settings.py +++ b/src/lib/Settings.py @@ -78,16 +78,16 @@ class Settings(object): logger.error("Content of config file '%s' is not valid. Correct it!\n%s\n" % (self.CONFIG_FILE, e)) raise SystemExit, 1 - for section in locations: - if cfp.has_section(section): - for key, location in locations[section]: - try: - if key in cookers: + for section in locations: + if cfp.has_section(section): + for key, location in locations[section]: + try: + if key in cookers: setattr(self, key, cookers[key](cfp.get(section, location))) - else: + else: setattr(self, key, cfp.get(section, location)) - except: - pass + except: + pass settings = Settings() |