[Python-checkins] CVS: python/dist/src/Mac/scripts run.py,1.2,1.3

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


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

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

Index: run.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/scripts/run.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** run.py	1995/02/21 21:00:32	1.2
--- run.py	2001/08/25 12:12:40	1.3
***************
*** 28,32 ****
  
  def message(str = "Hello, world!", id = 256):
! 	import Dlg
  	d = Dlg.GetNewDialog(id, -1)
  	if not d:
--- 28,32 ----
  
  def message(str = "Hello, world!", id = 256):
! 	from Carbon import Dlg
  	d = Dlg.GetNewDialog(id, -1)
  	if not d: