##// END OF EJS Templates
Make most file opening binary...
mpm@selenic.com -
r292:09364bce default
parent child Browse files
Show More
@@ -279,7 +279,9 b' def opener(base):'
279
279
280 f = os.path.join(p, path)
280 f = os.path.join(p, path)
281
281
282 if mode != "r":
282 mode += "b" # for that other OS
283
284 if mode[0] != "r":
283 try:
285 try:
284 s = os.stat(f)
286 s = os.stat(f)
285 except OSError:
287 except OSError:
General Comments 0
You need to be logged in to leave comments. Login now