changeset 36257 | 46c97973ee46 |
parent 34740 | b2601c5977a4 |
child 36779 | bf9a04d78084 |
--- a/mercurial/hgweb/server.py Sat Feb 17 00:29:46 2018 -0500 +++ b/mercurial/hgweb/server.py Sat Feb 17 01:09:56 2018 -0500 @@ -273,7 +273,7 @@ def openlog(opt, default): if opt and opt != '-': - return open(opt, 'a') + return open(opt, 'ab') return default class MercurialHTTPServer(_mixin, httpservermod.httpserver, object):