diff options
Diffstat (limited to 'test/implicit/IMPLICIT_COMMAND_DEPENDENCIES.py')
-rw-r--r-- | test/implicit/IMPLICIT_COMMAND_DEPENDENCIES.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/implicit/IMPLICIT_COMMAND_DEPENDENCIES.py b/test/implicit/IMPLICIT_COMMAND_DEPENDENCIES.py index bb3a5db..e2e4866 100644 --- a/test/implicit/IMPLICIT_COMMAND_DEPENDENCIES.py +++ b/test/implicit/IMPLICIT_COMMAND_DEPENDENCIES.py @@ -46,11 +46,11 @@ open(sys.argv[1], 'w').write('''\ #!/usr/bin/env %(python)s import os import sys -fp = open(sys.argv[1], 'wb') +fp = open(sys.argv[1], 'w') args = [os.path.split(sys.argv[0])[1]] + sys.argv[1:] fp.write(" ".join(args) + '\\\\n' + '%(extra)s') for infile in sys.argv[2:]: - fp.write(open(infile, 'rb').read()) + fp.write(open(infile, 'r').read()) fp.close() ''') os.chmod(sys.argv[1], 0o755) |