changeset 3962:71b272c93293

remove debuging code from parse function
author Byeongweon [tasyblue@gmail.com]
date Mon, 30 Jun 2008 06:27:33 +0900
parents 60b2a8ca5903
children 84de77c342e5
files MoinMoin/converter/text_html_text_moin_wiki.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Mon Jun 30 04:26:21 2008 +0900
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Mon Jun 30 06:27:33 2008 +0900
@@ -1295,10 +1295,6 @@
     text = u'<?xml version="1.0"?>%s%s' % (dtd, text)
     text = text.encode(config.charset)
     try:
-        logname = os.path.join(request.cfg.data_dir, "expaterror.log")
-        f = file(logname, "w")
-        f.write(text)
-        f.close()
         return xml.dom.minidom.parseString(text)
     except xml.parsers.expat.ExpatError, msg:
         # this sometimes crashes when it should not, so save the stuff to analyze it: