# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-26 10:53:12 # Node ID 3d58037c6ec0bce3222606e3d95d29d48bb9ff1f # Parent e8d37838f5df94798c035191db172456114029e4 py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D2455 diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -668,7 +668,7 @@ def email(ui, repo, *revs, **opts): start_time = util.makedate() def genmsgid(id): - return '<%s.%s@%s>' % (id[:20], int(start_time[0]), socket.getfqdn()) + return '<%s.%d@%s>' % (id[:20], int(start_time[0]), socket.getfqdn()) # deprecated config: patchbomb.from sender = (opts.get('from') or ui.config('email', 'from') or