changeset 14100:3e9e02a41dfb

util: really drop size from readfile
author Matt Mackall <mpm@selenic.com>
date Sun, 01 May 2011 04:56:24 -0500
parents 0824a0a3cefc
children 0c5228836fcd
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()