diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-05-20 23:17:38 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-05-20 23:17:38 (GMT) |
commit | 5e2635103c34ca1d4226f64c84c6bdf54d528d75 (patch) | |
tree | 1da233d88d33946de18f4e696b6c9013ada049ac /Lib/binhex.py | |
parent | 7e93587746374693b10b3c8cade7a0bc8c7eb100 (diff) | |
download | cpython-5e2635103c34ca1d4226f64c84c6bdf54d528d75.zip cpython-5e2635103c34ca1d4226f64c84c6bdf54d528d75.tar.gz cpython-5e2635103c34ca1d4226f64c84c6bdf54d528d75.tar.bz2 |
Remove the macfs module. This led to the deprecation of macostools.touched();
it completely relied on macfs and is a no-op on OS X according to code
comments.
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r-- | Lib/binhex.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py index 0f3e3c4..9059880 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -510,14 +510,7 @@ def hexbin(inp, out): ifp.close() def _test(): - if os.name == 'mac': - import macfs - fss, ok = macfs.PromptGetFile('File to convert:') - if not ok: - sys.exit(0) - fname = fss.as_pathname() - else: - fname = sys.argv[1] + fname = sys.argv[1] binhex(fname, fname+'.hqx') hexbin(fname+'.hqx', fname+'.viahqx') #hexbin(fname, fname+'.unpacked') |