author | Yuya Nishihara <yuya@tcha.org> |
Thu, 01 Jun 2017 23:05:29 +0900 | |
changeset 32617 | e48cb1c7a902 |
parent 32616 | 6df193b5c437 |
child 32618 | d3e1c5b4986c |
--- a/mercurial/server.py Thu Jun 01 22:43:24 2017 +0900 +++ b/mercurial/server.py Thu Jun 01 23:05:29 2017 +0900 @@ -33,7 +33,7 @@ else: mode = 'wb' fp = open(opts['pid_file'], mode) - fp.write(str(pid).encode('latin1') + '\n') + fp.write('%d\n' % pid) fp.close() if opts['daemon'] and not opts['daemon_postexec']: