diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-09 23:17:18 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-09 23:17:18 (GMT) |
commit | 316ba5d2dae38e62f97c7f0f778b73eef6b8437c (patch) | |
tree | e8d7fe832c19112bd5d2d75af04e17058baf3540 | |
parent | d40f3c60ca39b76c518df368477baa7c338b139e (diff) | |
download | cpython-316ba5d2dae38e62f97c7f0f778b73eef6b8437c.zip cpython-316ba5d2dae38e62f97c7f0f778b73eef6b8437c.tar.gz cpython-316ba5d2dae38e62f97c7f0f778b73eef6b8437c.tar.bz2 |
Adapted to os and imp changes
-rw-r--r-- | Mac/scripts/ConfigurePython.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/scripts/ConfigurePython.py b/Mac/scripts/ConfigurePython.py index ac234e6..6fd222e 100644 --- a/Mac/scripts/ConfigurePython.py +++ b/Mac/scripts/ConfigurePython.py @@ -50,7 +50,7 @@ home folder. import imp cwd = os.getcwd() tblibname = os.path.join(cwd, "toolboxmodules.slb") - if not os.exists(tblibname): + if not os.path.exists(tblibname): print """ I cannot find the 'toolboxmodules.slb' file in the PlugIns directory. Start afresh from a clean distribution. @@ -58,7 +58,7 @@ Start afresh from a clean distribution. sys.exit(1) try: for wtd in ["Ctl", "Dlg", "Evt", "Qd", "Res", "Win"]: - imp.load_dynamic_module(wtd, tblibname, None) + imp.load_dynamic(wtd, tblibname) except ImportError: print """ I cannot load the toolbox modules by hand. Are you sure you are |