py3: use '%d' for integers instead of '%s'
Differential Revision: https://phab.mercurial-scm.org/D2455
--- a/hgext/patchbomb.py Sun Feb 25 13:24:35 2018 +0900
+++ b/hgext/patchbomb.py Mon Feb 26 16:23:12 2018 +0530
@@ -668,7 +668,7 @@
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