mercurial/util.py
changeset 14250 34ec9b313638
parent 14235 b9e1b041744f
child 14262 23cd7eeff678
--- a/mercurial/util.py	Sat May 07 21:12:33 2011 +0200
+++ b/mercurial/util.py	Sat May 07 21:12:35 2011 +0200
@@ -772,7 +772,7 @@
     makedirs(name, mode)
 
 def readfile(path):
-    fp = open(path)
+    fp = open(path, 'rb')
     try:
         return fp.read()
     finally: