##// END OF EJS Templates
util: make readfile() operate in binary mode...
Patrick Mezard -
r14250:34ec9b31 default
parent child Browse files
Show More
@@ -772,7 +772,7 b' def makedirs(name, mode=None):'
772 makedirs(name, mode)
772 makedirs(name, mode)
773
773
774 def readfile(path):
774 def readfile(path):
775 fp = open(path)
775 fp = open(path, 'rb')
776 try:
776 try:
777 return fp.read()
777 return fp.read()
778 finally:
778 finally:
General Comments 0
You need to be logged in to leave comments. Login now