[Python-checkins] python/dist/src/Lib/idlelib EditorWindow.py, 1.60, 1.61

kbk at users.sourceforge.net kbk at users.sourceforge.net
Wed Jul 21 05:34:00 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3448

Modified Files:
	EditorWindow.py 
Log Message:
EditorWindow.py was not finding the .chm help file on Windows.  Typo
at Rev 1.54.  Python Bug 990954


Index: EditorWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/EditorWindow.py,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** EditorWindow.py	15 Jul 2004 04:54:57 -0000	1.60
--- EditorWindow.py	21 Jul 2004 03:33:58 -0000	1.61
***************
*** 62,66 ****
                                             'Doc', 'index.html')
              elif sys.platform[:3] == 'win':
!                 chmfile = os.path.join(sys.prefix, "Python%d%d.chm" % sys.version_info[:2])
                  if os.path.isfile(chmfile):
                      dochome = chmfile
--- 62,67 ----
                                             'Doc', 'index.html')
              elif sys.platform[:3] == 'win':
!                 chmfile = os.path.join(sys.prefix, 'Doc',
!                                        'Python%d%d.chm' % sys.version_info[:2])
                  if os.path.isfile(chmfile):
                      dochome = chmfile



More information about the Python-checkins mailing list