##// END OF EJS Templates
py3: use open() instead of file() constructor...
Pulkit Goyal -
r32898:c425b678 default
parent child Browse files
Show More
@@ -51,7 +51,7 b' def visit(opts, filenames, outfile):'
51 if opts.type:
51 if opts.type:
52 facts.append('file')
52 facts.append('file')
53 if opts.hexdump or opts.dump or opts.md5:
53 if opts.hexdump or opts.dump or opts.md5:
54 content = file(f, 'rb').read()
54 content = open(f, 'rb').read()
55 elif islink:
55 elif islink:
56 if opts.type:
56 if opts.type:
57 facts.append('link')
57 facts.append('link')
General Comments 0
You need to be logged in to leave comments. Login now