[Python-checkins] CVS: python/dist/src/Mac/scripts EditPythonPrefs.py,1.24,1.25

Jack Jansen jackjansen@users.sourceforge.net
Sat, 25 Aug 2001 05:04:26 -0700


Update of /cvsroot/python/python/dist/src/Mac/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv18741/Python/Mac/scripts

Modified Files:
	EditPythonPrefs.py 
Log Message:
Import the MacOS toolbox modules from the Carbon package.

Index: EditPythonPrefs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/scripts/EditPythonPrefs.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** EditPythonPrefs.py	2001/01/29 14:59:33	1.24
--- EditPythonPrefs.py	2001/08/25 12:04:24	1.25
***************
*** 4,11 ****
  # be rewritten in a modeless way some time soon.
  
! from Dlg import *
! from Events import *
! from Res import *
! import Controls
  import string
  import struct
--- 4,11 ----
  # be rewritten in a modeless way some time soon.
  
! from Carbon.Dlg import *
! from Carbon.Events import *
! from Carbon.Res import *
! from Carbon import Controls
  import string
  import struct
***************
*** 14,22 ****
  import os
  import sys
! import Res # For Res.Error
  import pythonprefs
  import EasyDialogs
  try:
! 	import Help
  except ImportError:
  	Help = None
--- 14,22 ----
  import os
  import sys
! from Carbon import Res # For Res.Error
  import pythonprefs
  import EasyDialogs
  try:
! 	from Carbon import Help
  except ImportError:
  	Help = None