From e73cb5574a47774b81a9a2668a54c8c3035290cf Mon Sep 17 00:00:00 2001 From: Wade Berrier Date: Fri, 25 Jan 2013 20:41:51 -0700 Subject: [PATCH] Demote log message when xdg is missing from error to warning Otherwise the log messages clutter up the mutt screen --- mutt_ldap.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.26.2