diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-26 21:40:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-26 21:40:00 (GMT) |
commit | b340acf9fd893140efd65a56134a814a8d9bac73 (patch) | |
tree | c991a32a9d7b34262675c1cd97969c352c43f74e /Mac/Tools/macfreeze | |
parent | d9db3a67138deec981184c173c290025e9760f1d (diff) | |
download | cpython-b340acf9fd893140efd65a56134a814a8d9bac73.zip cpython-b340acf9fd893140efd65a56134a814a8d9bac73.tar.gz cpython-b340acf9fd893140efd65a56134a814a8d9bac73.tar.bz2 |
Use new file dialogs.
Diffstat (limited to 'Mac/Tools/macfreeze')
-rw-r--r-- | Mac/Tools/macfreeze/macgen_bin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Tools/macfreeze/macgen_bin.py b/Mac/Tools/macfreeze/macgen_bin.py index a6de84a..8735e171 100644 --- a/Mac/Tools/macfreeze/macgen_bin.py +++ b/Mac/Tools/macfreeze/macgen_bin.py @@ -205,10 +205,10 @@ def findpythoncore(): raise "Unknown MacOS.runtimemodel", MacOS.runtimemodel corepath = os.path.join(extpath, corename) if not os.path.exists(corepath): - fss, ok = macfs.PromptGetFile("Please locate PythonCore:", "shlb") - if not ok: + corepath = EasyDialogs.AskFileForOpen(message="Please locate PythonCore:", + typeList=("shlb",)) + if not corepath: raise KeyboardInterrupt, "cancelled" - corepath = fss.as_pathname() return resolvealiasfile(corepath) def resolvealiasfile(path): |