Mercurial > hg-stable
changeset 31363:e6a2b625e0d9
lock: use %d to format integer into a bytestring
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 12 Mar 2017 03:29:04 -0400 |
parents | 089e37802fb3 |
children | 77270ec0cdd9 |
files | mercurial/lock.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/lock.py Sun Mar 12 00:44:59 2017 -0500 +++ b/mercurial/lock.py Sun Mar 12 03:29:04 2017 -0400 @@ -118,7 +118,7 @@ return if lock._host is None: lock._host = _getlockprefix() - lockname = '%s:%s' % (lock._host, self.pid) + lockname = '%s:%d' % (lock._host, self.pid) retry = 5 while not self.held and retry: retry -= 1