Update of /cvsroot/pythoncard/PythonCard/tools/oneEditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18442/oneEditor
Modified Files:
tabcodeEditor.py
Log Message:
Change hack for Python 2.3 to BIG HACK for Python 2.3 or 2.4 help files on Win.
Index: tabcodeEditor.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/oneEditor/tabcodeEditor.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** tabcodeEditor.py 3 Nov 2005 00:22:52 -0000 1.12
--- tabcodeEditor.py 19 Dec 2005 23:18:04 -0000 1.13
***************
*** 1244,1252 ****
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):
--- 1244,1253 ----
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):
|