s/frontend/application/

This commit is contained in:
Christophe Benz 2010-07-11 02:13:45 +02:00
commit ae4b7cd23b
2 changed files with 4 additions and 4 deletions

View file

@ -50,10 +50,10 @@ class INIConfig(IConfig):
for section in self.config.sections():
self.values = load_section(section)
self.values.update(self.config.items('DEFAULT'))
logging.debug(u'Frontend configuration file loaded: %s.' % self.path)
logging.debug(u'Application configuration file loaded: %s.' % self.path)
else:
self.save()
logging.debug(u'Frontend configuration file created with default values: %s. '
logging.debug(u'Application configuration file created with default values: %s. '
'Please customize it.' % self.path)
return self.values

View file

@ -40,10 +40,10 @@ class YamlConfig(IConfig):
try:
with open(self.path, 'r') as f:
self.values = yaml.load(f)
logging.debug(u'Frontend configuration file loaded: %s.' % self.path)
logging.debug(u'Application configuration file loaded: %s.' % self.path)
except IOError:
self.save()
logging.debug(u'Frontend configuration file created with default values: %s. Please customize it.' % self.path)
logging.debug(u'Application configuration file created with default values: %s. Please customize it.' % self.path)
if self.values is None:
self.values = {}