changeset 1450:90d02867e144

macro converter: fix NameError, fixes #219
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 26 Jul 2012 22:52:17 +0200
parents b472a506db2e
children c32ff2e07e7a 895436f44f93
files MoinMoin/converter/macro.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/macro.py	Wed Jul 25 15:14:04 2012 +0200
+++ b/MoinMoin/converter/macro.py	Thu Jul 26 22:52:17 2012 +0200
@@ -85,7 +85,7 @@
             # and makes the wiki UI unusable (by emitting a Server Error),
             # thus, in case of exceptions, we just log the problem and return
             # some standard text.
-            logger.exception("Macro {0} raised an exception:".format(name))
+            logging.exception("Macro {0} raised an exception:".format(name))
             elem_error.append(_('<<%(macro_name)s: execution failed [%(error_msg)s] (see also the log)>>',
                     macro_name=name,
                     error_msg=unicode(e),