summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/macfreeze
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-26 21:40:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-26 21:40:00 (GMT)
commitb340acf9fd893140efd65a56134a814a8d9bac73 (patch)
treec991a32a9d7b34262675c1cd97969c352c43f74e /Mac/Tools/macfreeze
parentd9db3a67138deec981184c173c290025e9760f1d (diff)
downloadcpython-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.py6
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):