diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-07-05 13:25:35 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-07-05 13:25:35 +0100 |
commit | 9540f069b515e3ba6badd64414a47e93ceafa1dd (patch) | |
tree | 086e59338361fd1597ca248a56411d0669336063 /pykolab/conf | |
parent | 78f17cb9d1213d4c1529b644d72f304bca6bc32a (diff) | |
download | pykolab-9540f069b515e3ba6badd64414a47e93ceafa1dd.tar.gz |
Avoid unknown keyword recoverable
Diffstat (limited to 'pykolab/conf')
-rw-r--r-- | pykolab/conf/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pykolab/conf/__init__.py b/pykolab/conf/__init__.py index d20f09a..295cd52 100644 --- a/pykolab/conf/__init__.py +++ b/pykolab/conf/__init__.py @@ -206,14 +206,14 @@ class Conf(object): config_file = self.config_file if not os.access(config_file, os.R_OK): - log.error(_("Configuration file %s not readable") % config_file, recoverable=False) + log.error(_("Configuration file %s not readable") % config_file) config = SafeConfigParser() log.debug(_("Reading configuration file %s") % config_file, level=8) try: config.read(config_file) except: - log.error(_("Invalid configuration file %s") % config_file, recoverable=False) + log.error(_("Invalid configuration file %s") % config_file) if not config.has_section("kolab"): log.warning(_("No master configuration section [revisor] in configuration file %s") % config_file) @@ -396,7 +396,7 @@ class Conf(object): self.read_config() if not len(args) == 3: - log.error(_("Insufficient options. Need section, key and value -in that order."), recoverable=False) + log.error(_("Insufficient options. Need section, key and value -in that order.")) if not self.cfg_parser.has_section(args[0]): log.error(_("No section '%s' exists.") %(args[0])) @@ -453,7 +453,7 @@ class Conf(object): TODO: Include getting the value from plugins through a hook. """ - retval = False + retval = False if not self.cfg_parser: self.read_config() @@ -494,10 +494,10 @@ class Conf(object): self.config_file = value return True else: - log.error(_("Configuration file %s not readable.") %(value), recoverable=False) + log.error(_("Configuration file %s not readable.") %(value)) return False else: - log.error(_("Configuration file %s does not exist.") %(value), recoverable=False) + log.error(_("Configuration file %s does not exist.") %(value)) return False def check_setting_debuglevel(self, value): |