changeset 607:e501a537ca6a

Fixed expat exception handling bug.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Wed, 26 Apr 2006 22:31:35 +0200
parents aae1abe0ffcb
children 16964b4b2f6b
files MoinMoin/converter/text_html_text_x_moin.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_x_moin.py	Wed Apr 26 08:21:45 2006 +0200
+++ b/MoinMoin/converter/text_html_text_x_moin.py	Wed Apr 26 22:31:35 2006 +0200
@@ -1199,7 +1199,7 @@
         logname = os.path.join(request.cfg.data_dir, "expaterror.log")
         f = file(logname, "w")
         f.write(text)
-        f.write("\n" + "-"*80 + "\n" + msg)
+        f.write("\n" + "-"*80 + "\n" + str(msg))
         f.close()
         raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))