[Python-checkins] CVS: python/dist/src/Tools/idle IdleConf.py,1.2,1.3

Guido van Rossum guido@cnri.reston.va.us
Mon, 6 Mar 2000 09:14:04 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Tools/idle
In directory eric:/projects/python/develop/guido/src/Tools/idle

Modified Files:
	IdleConf.py 
Log Message:
Don't use 1.6-isms (s.startswith()) -- we want to distribute this
before 1.6 is out so it has to be compatible with 1.5.2.


Index: IdleConf.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Tools/idle/IdleConf.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** IdleConf.py	2000/03/03 23:00:41	1.2
--- IdleConf.py	2000/03/06 14:14:02	1.3
***************
*** 92,99 ****
      _dir = dir
  
!     if sys.platform.startswith('win'):
          genplatfile = os.path.join(dir, "config-win.txt")
      # XXX don't know what the platform string is on a Mac
!     elif sys.platform.startswith('mac'):
          genplatfile = os.path.join(dir, "config-mac.txt")
      else:
--- 92,99 ----
      _dir = dir
  
!     if sys.platform[:3] == 'win':
          genplatfile = os.path.join(dir, "config-win.txt")
      # XXX don't know what the platform string is on a Mac
!     elif sys.platform[:3] == 'mac':
          genplatfile = os.path.join(dir, "config-mac.txt")
      else: