# HG changeset patch # User amit@thunder # Date 1267374735 -19800 # Node ID bc65d880289731c95330dadc07ccaf71455a09c7 # Parent 194e1bdfd1cb852a45908a9998009c299a86bf74 Bug fix in myrst .. so that it does not fail at not finding a file diff -r 194e1bdfd1cb -r bc65d8802897 SEESenv/scripts/finalhtml.py --- a/SEESenv/scripts/finalhtml.py Sun Feb 28 21:41:27 2010 +0530 +++ b/SEESenv/scripts/finalhtml.py Sun Feb 28 22:02:15 2010 +0530 @@ -1,5 +1,5 @@ import glob -import lxml +#import lxml import re import os from BeautifulSoup import BeautifulSoup diff -r 194e1bdfd1cb -r bc65d8802897 SEESenv/scripts/index.config --- a/SEESenv/scripts/index.config Sun Feb 28 21:41:27 2010 +0530 +++ b/SEESenv/scripts/index.config Sun Feb 28 22:02:15 2010 +0530 @@ -1,4 +1,3 @@ -Introduction/Introduction.rst basic_python/intro.rst basic_python/list_tuples.rst basic_python/strings_dicts.rst diff -r 194e1bdfd1cb -r bc65d8802897 SEESenv/scripts/myrst2xml.py --- a/SEESenv/scripts/myrst2xml.py Sun Feb 28 21:41:27 2010 +0530 +++ b/SEESenv/scripts/myrst2xml.py Sun Feb 28 22:02:15 2010 +0530 @@ -35,7 +35,7 @@ name='ch'+str(chapterno)+name.split('.')[0] xml_file=tmp_folder+name+'.xml' print xml_file -# a=open(xml_file,'w') + try: publish_file(source_path=file_name, destination_path=xml_file,parser_name='restructuredtext', writer_name='xml') except :