tests/f
changeset 32898 c425b678df7c
parent 29233 318534bb5dfd
child 34270 3db2365d43e4
--- a/tests/f	Sat Jun 17 15:29:26 2017 +0530
+++ b/tests/f	Sat Jun 17 17:16:28 2017 +0530
@@ -51,7 +51,7 @@
             if opts.type:
                 facts.append('file')
             if opts.hexdump or opts.dump or opts.md5:
-                content = file(f, 'rb').read()
+                content = open(f, 'rb').read()
         elif islink:
             if opts.type:
                 facts.append('link')