diff MoinMoin/log.py @ 3582:27ba7445b480

logging: fix typos
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 11 May 2008 22:59:25 +0200
parents ff4afe930cb2
children fea6b6afce05
line wrap: on
line diff
--- a/MoinMoin/log.py	Sun May 11 22:46:39 2008 +0200
+++ b/MoinMoin/log.py	Sun May 11 22:59:25 2008 +0200
@@ -13,7 +13,7 @@
     b) by an explicit call to MoinMoin.log.load_config('logging.conf') -
        you need to do this very early or a) or c) will happen before
     c) by using a builtin fallback logging conf
-    
+
     If logging is not yet configured, log.getLogger will do an implicit
     configuration call - then a) or c) is done.
 
@@ -115,7 +115,7 @@
         logging.config.fileConfig(config_file, logging_defaults)
         configured = True
         l = getLogger(__name__)
-        if err:
+        if err_msg:
             l.warning('load_config for "%s" failed with "%s".' % (conf_fname, err_msg))
         l.warning('using logging configuration read from built-in fallback in MoinMoin.log module!')