Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/ConfigurePython.py @ 3183:61ca19a3000f legacy-trunk
Adapted to os and imp changes
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 09 Oct 1995 23:17:18 +0000 |
| parents | 2caa3e283568 |
| children | 801265b86164 |
line wrap: on
line diff
--- a/Mac/scripts/ConfigurePython.py Mon Oct 09 23:12:22 1995 +0000 +++ b/Mac/scripts/ConfigurePython.py Mon Oct 09 23:17:18 1995 +0000 @@ -50,7 +50,7 @@ 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 @@ 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
