##// END OF EJS Templates
py3: use '%d' for integers instead of '%s'...
Pulkit Goyal -
r36464:3d58037c default
parent child Browse files
Show More
@@ -668,7 +668,7 b' def email(ui, repo, *revs, **opts):'
668 start_time = util.makedate()
668 start_time = util.makedate()
669
669
670 def genmsgid(id):
670 def genmsgid(id):
671 return '<%s.%s@%s>' % (id[:20], int(start_time[0]), socket.getfqdn())
671 return '<%s.%d@%s>' % (id[:20], int(start_time[0]), socket.getfqdn())
672
672
673 # deprecated config: patchbomb.from
673 # deprecated config: patchbomb.from
674 sender = (opts.get('from') or ui.config('email', 'from') or
674 sender = (opts.get('from') or ui.config('email', 'from') or
General Comments 0
You need to be logged in to leave comments. Login now