summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/makeclean.py
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/scripts/makeclean.py
parentd9db3a67138deec981184c173c290025e9760f1d (diff)
downloadcpython-b340acf9fd893140efd65a56134a814a8d9bac73.zip
cpython-b340acf9fd893140efd65a56134a814a8d9bac73.tar.gz
cpython-b340acf9fd893140efd65a56134a814a8d9bac73.tar.bz2
Use new file dialogs.
Diffstat (limited to 'Mac/scripts/makeclean.py')
-rw-r--r--Mac/scripts/makeclean.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mac/scripts/makeclean.py b/Mac/scripts/makeclean.py
index 005ea02..14416ab 100644
--- a/Mac/scripts/makeclean.py
+++ b/Mac/scripts/makeclean.py
@@ -12,6 +12,7 @@
"""
import macfs
+import EasyDialogs
import os
import sys
import re
@@ -53,7 +54,7 @@ def walk(top):
remove(top)
-fss, ok = macfs.GetDirectory("Please locate the Python home directory")
-if ok:
- walk(fss.as_pathname())
+pathname = EasyDialogs.AskFolder(message="Please locate the Python home directory")
+if pathname:
+ walk(pathname)
sys.exit(1) # so we see the results