projects
/
mutt-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7819dfb
)
Demote log message when xdg is missing from error to warning
author
Wade Berrier
<wberrier@gmail.com>
Sat, 26 Jan 2013 03:41:51 +0000
(20:41 -0700)
committer
Wade Berrier
<wberrier@gmail.com>
Tue, 5 Feb 2013 04:09:14 +0000
(21:09 -0700)
Otherwise the log messages clutter up the mutt screen
mutt_ldap.py
patch
|
blob
|
history
diff --git
a/mutt_ldap.py
b/mutt_ldap.py
index e3eda984230cd5156958e8ff04106139dc06c555..d3430826bdcb0dd29dd35d39e03d9c652adc5bc3 100755
(executable)
--- 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