##// END OF EJS Templates
hgweb: open server logs in binary mode...
Augie Fackler -
r36271:46c97973 default
parent child Browse files
Show More
@@ -273,7 +273,7 b' except ImportError:'
273
273
274 def openlog(opt, default):
274 def openlog(opt, default):
275 if opt and opt != '-':
275 if opt and opt != '-':
276 return open(opt, 'a')
276 return open(opt, 'ab')
277 return default
277 return default
278
278
279 class MercurialHTTPServer(_mixin, httpservermod.httpserver, object):
279 class MercurialHTTPServer(_mixin, httpservermod.httpserver, object):
General Comments 0
You need to be logged in to leave comments. Login now