id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	work_issues	upstream	reviewer	author	merged	dependencies	stopgaps
10351	Fix the way sage/misc/sagedoc.py reads doc/common/builder.py	jdemeyer	mvngu	"The following code from {{{sage/misc/sagedoc.py}}} is horrible:
{{{
        # check if any documentation is missing.  first read the start
        # of SAGE_ROOT/devel/sage/doc/common/builder.py to find list
        # of languages, documents, and documents to omit
        doc_path = os.path.join(ROOT, 'devel', 'sage', 'doc')
        builder = open(os.path.join(doc_path, 'common', 'builder.py'))
        s = builder.read()[:1000]
        builder.close()
        # list of languages
        lang = []
        idx = s.find(""LANGUAGES"")
        if idx != -1:
            start = s[idx:].find('[')
            end =  s[idx:].find(']')
            if start != -1 and end != -1:
                lang = s[idx+start+1:idx+end].translate(None, ""'\"" "").split("","")
        # documents in SAGE_ROOT/devel/sage/doc/LANG/ to omit
        omit = []
        idx = s.find(""OMIT"")
        if idx != -1:
            start = s[idx:].find('[')
            end =  s[idx:].find(']')
            if start != -1 and end != -1:
                omit = s[idx+start+1:idx+end].translate(None, ""'\"" "").split("","")
}}}"	defect	closed	major	sage-4.6.2	documentation	fixed				N/A	Mike Hansen, Volker Braun	Jeroen Demeyer	sage-4.6.2.alpha4		
