changeset 36446:3d58037c6ec0

py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D2455
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 26 Feb 2018 16:23:12 +0530
parents e8d37838f5df
children 588048a6a8d3
files hgext/patchbomb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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