hgext/blackbox.py
changeset 32155 055cca8e167b
parent 29841 d5883fd055c6
child 32337 46ba2cdda476
--- a/hgext/blackbox.py	Fri May 05 01:26:49 2017 +0530
+++ b/hgext/blackbox.py	Fri May 05 01:41:54 2017 +0530
@@ -173,7 +173,7 @@
                 ui._bbinlog = True
                 date = util.datestr(None, '%Y/%m/%d %H:%M:%S')
                 user = util.getuser()
-                pid = str(util.getpid())
+                pid = '%d' % util.getpid()
                 formattedmsg = msg[0] % msg[1:]
                 rev = '(unknown)'
                 changed = ''