diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-08-14 12:21:12 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-08-14 12:21:12 (GMT) |
commit | 9062fa2fb54e1c47aa314eef74b314d128a6b2c4 (patch) | |
tree | f2af220a7fab2677d77d0e3324e384f8e19bdccd /Mac/scripts/PackLibDir.py | |
parent | ad169272fb83730c6d59ff140ef5ac15e52ffdf3 (diff) | |
download | cpython-9062fa2fb54e1c47aa314eef74b314d128a6b2c4.zip cpython-9062fa2fb54e1c47aa314eef74b314d128a6b2c4.tar.gz cpython-9062fa2fb54e1c47aa314eef74b314d128a6b2c4.tar.bz2 |
Added prompts to various file-select dialogs
Renumbered resources to above 512
Diffstat (limited to 'Mac/scripts/PackLibDir.py')
-rw-r--r-- | Mac/scripts/PackLibDir.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Mac/scripts/PackLibDir.py b/Mac/scripts/PackLibDir.py index cdda87d..e6cd656 100644 --- a/Mac/scripts/PackLibDir.py +++ b/Mac/scripts/PackLibDir.py @@ -77,14 +77,10 @@ def handlesubdir(handle, id, srcdir): if __name__ == '__main__': args = sys.argv[1:] if not args: - ifss, ok = macfs.StandardGetFile('PYC ') - if ok: - args = [ifss.as_pathname()] - else: - ifss, ok = macfs.GetDirectory() - if not ok: - sys.exit(0) - args = [ifss.as_pathname()] + ifss, ok = macfs.GetDirectory('Select root of tree to pack:') + if not ok: + sys.exit(0) + args = [ifss.as_pathname()] for ifn in args: ofss, ok = macfs.StandardPutFile('Output for '+os.path.split(ifn)[1]) if not ok: |