From: Alex T. <ale...@us...> - 2005-12-19 23:18:15
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18442/codeEditor Modified Files: codeEditor.py Log Message: Change hack for Python 2.3 to BIG HACK for Python 2.3 or 2.4 help files on Win. Index: codeEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/codeEditor.py,v retrieving revision 1.125 retrieving revision 1.126 diff -C2 -d -r1.125 -r1.126 *** codeEditor.py 18 Aug 2004 16:24:56 -0000 1.125 --- codeEditor.py 19 Dec 2005 23:18:04 -0000 1.126 *************** *** 1212,1220 **** if sys.platform.startswith("win"): ! # KEA 2003-10-15 ! # hack for Python 2.3 Windows help file # need to decide on a clean way of handling various doc options fn = os.path.dirname(os.__file__) ! fn = os.path.join(fn, os.pardir, "Doc", "Python23.chm") fn = os.path.normpath(fn) if os.path.isfile(fn): --- 1212,1221 ---- if sys.platform.startswith("win"): ! # KEA 2003-10-15 AGT 2005-12-20 ! # BIG hack for Python 2.3 Windows help file (or Python 2.4) # need to decide on a clean way of handling various doc options fn = os.path.dirname(os.__file__) ! chmfile = "Python" + sys.version[0] + sys.version[2] + ".chm" ! fn = os.path.join(fn, os.pardir, "Doc", chmfile) fn = os.path.normpath(fn) if os.path.isfile(fn): |