[Python-checkins] CVS: python/dist/src/Mac/scripts RunLibScript.py,1.4,1.5
Jack Jansen
jackjansen@users.sourceforge.net
Sat, 25 Aug 2001 05:12:47 -0700
Update of /cvsroot/python/python/dist/src/Mac/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv21969/Python/Mac/scripts
Modified Files:
RunLibScript.py
Log Message:
Import the MacOS toolbox modules from the Carbon package.
Index: RunLibScript.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/scripts/RunLibScript.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RunLibScript.py 2000/06/20 21:54:05 1.4
--- RunLibScript.py 2001/08/25 12:12:45 1.5
***************
*** 7,11 ****
import os
import string
! import Dlg
import macfs
--- 7,11 ----
import os
import string
! from Carbon import Dlg
import macfs
***************
*** 84,88 ****
def main():
curdir = os.getcwd()
! import Res
try:
Res.FSpOpenResFile('RunLibScript.rsrc', 1)
--- 84,88 ----
def main():
curdir = os.getcwd()
! from Carbon import Res
try:
Res.FSpOpenResFile('RunLibScript.rsrc', 1)