From: Yuri T. <qar...@gm...> - 2008-05-31 02:33:29
|
Thanks. I merged and pushed it. BTW, it looks like something went very wrong with the "To:" field in your message. - yuri On Fri, May 30, 2008 at 4:52 PM, Jeff Balogh <its...@gm...> wrote: > codecs.open was failing without it. > --- > test-markdown.py | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/test-markdown.py b/test-markdown.py > index e3997a4..bc2b891 100644 > --- a/test-markdown.py > +++ b/test-markdown.py > @@ -214,6 +214,9 @@ def testDirectory(dir, measure_time=False, safe_mode=False) : > except: > hd = None > > + if not os.path.exists(TMP_DIR): > + os.mkdir(TMP_DIR) > + > htmlDiffFilePath = os.path.join(TMP_DIR, os.path.split(dir)[-1]) + ".html" > htmlDiffFile = codecs.open(htmlDiffFilePath, "w", encoding=encoding) > htmlDiffFile.write(DIFF_FILE_TEMPLATE) > -- > 1.5.5.1 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Python-markdown-discuss mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss > -- http://sputnik.freewisdom.org/ |