Mercurial > hg
changeset 36490:1c4247b0040a
py3: use '%d' instead of '%s' for ints
Differential Revision: https://phab.mercurial-scm.org/D2514
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 01 Mar 2018 23:51:32 +0530 |
parents | 4b9e9e3f450c |
children | 149c5af35de5 |
files | hgext/hgk.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/hgk.py Thu Mar 01 03:56:41 2018 +0530 +++ b/hgext/hgk.py Thu Mar 01 23:51:32 2018 +0530 @@ -146,7 +146,7 @@ date = ctx.date() description = ctx.description().replace("\0", "") - ui.write(("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1]))) + ui.write(("author %s %d %d\n" % (ctx.user(), int(date[0]), date[1]))) if 'committer' in ctx.extra(): ui.write(("committer %s\n" % ctx.extra()['committer']))