summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-22 07:13:30 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-22 07:13:30 (GMT)
commit8142cb6f20b4a20bfa168a6b6582b5df2192e824 (patch)
treed68f91e16e82a4fe908914a543373473868b3e0b /Lib/plat-mac
parent72d7a78eb000c3e4349b0cde50f0c03d4c173268 (diff)
downloadcpython-8142cb6f20b4a20bfa168a6b6582b5df2192e824.zip
cpython-8142cb6f20b4a20bfa168a6b6582b5df2192e824.tar.gz
cpython-8142cb6f20b4a20bfa168a6b6582b5df2192e824.tar.bz2
Damn another occurrence of using as as a keywordf
Diffstat (limited to 'Lib/plat-mac')
-rw-r--r--Lib/plat-mac/applesingle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/applesingle.py b/Lib/plat-mac/applesingle.py
index 56d73a7..b035d9e 100644
--- a/Lib/plat-mac/applesingle.py
+++ b/Lib/plat-mac/applesingle.py
@@ -119,8 +119,8 @@ def decode(infile, outpath, resonly=False, verbose=False):
infile = infile.as_pathname()
infile = open(infile, 'rb')
- as = AppleSingle(infile, verbose=verbose)
- as.tofile(outpath, resonly=resonly)
+ asfile = AppleSingle(infile, verbose=verbose)
+ asfile.tofile(outpath, resonly=resonly)
def _test():
if len(sys.argv) < 3 or sys.argv[1] == '-r' and len(sys.argv) != 4: