util: really drop size from readfile
authorMatt Mackall <mpm@selenic.com>
Sun, 01 May 2011 04:56:24 -0500
changeset 14100 3e9e02a41dfb
parent 14099 0824a0a3cefc
child 14101 0c5228836fcd
util: really drop size from readfile
mercurial/util.py
--- a/mercurial/util.py	Sun May 01 11:46:49 2011 +0200
+++ b/mercurial/util.py	Sun May 01 04:56:24 2011 -0500
@@ -774,7 +774,7 @@
 def readfile(path):
     fp = open(path)
     try:
-        return fp.read(size)
+        return fp.read()
     finally:
         fp.close()