From: Wade Berrier Date: Sat, 26 Jan 2013 03:41:51 +0000 (-0700) Subject: Demote log message when xdg is missing from error to warning X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e73cb5574a47774b81a9a2668a54c8c3035290cf;p=mutt-ldap.git Demote log message when xdg is missing from error to warning Otherwise the log messages clutter up the mutt screen --- diff --git a/mutt_ldap.py b/mutt_ldap.py index e3eda98..d343082 100755 --- a/mutt_ldap.py +++ b/mutt_ldap.py @@ -118,8 +118,9 @@ class Config (_configparser.SafeConfigParser): def _log_xdg_import_error(self): global _xdg_import_error if _xdg_import_error: - LOG.error(u'could not import xdg.BaseDirectory') - LOG.error(_xdg_import_error) + LOG.warning(u'could not import xdg.BaseDirectory ' + u'or lacking necessary support') + LOG.warning(_xdg_import_error) _xdg_import_error = None