Damn another occurrence of using as as a keywordf

This commit is contained in:
Neal Norwitz 2006-03-22 07:12:41 +00:00
parent 3114608c51
commit f84c38a39a
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ def decode(infile, outpath, resonly=False, verbose=False):
infile = infile.as_pathname() infile = infile.as_pathname()
infile = open(infile, 'rb') infile = open(infile, 'rb')
as = AppleSingle(infile, verbose=verbose) asfile = AppleSingle(infile, verbose=verbose)
as.tofile(outpath, resonly=resonly) asfile.tofile(outpath, resonly=resonly)
def _test(): def _test():
if len(sys.argv) < 3 or sys.argv[1] == '-r' and len(sys.argv) != 4: if len(sys.argv) < 3 or sys.argv[1] == '-r' and len(sys.argv) != 4: