Mercurial > hg
diff mercurial/lock.py @ 36319:c303eda316be
lock: delay is numeric, use %d for formatting
Differential Revision: https://phab.mercurial-scm.org/D2347
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 18 Feb 2018 15:38:29 -0500 |
parents | 4b1c04082cdc |
children | c77c925987d7 |
line wrap: on
line diff
--- a/mercurial/lock.py Sun Feb 18 15:23:26 2018 -0500 +++ b/mercurial/lock.py Sun Feb 18 15:38:29 2018 -0500 @@ -84,9 +84,9 @@ l.delay = delay if l.delay: if 0 <= warningidx <= l.delay: - ui.warn(_("got lock after %s seconds\n") % l.delay) + ui.warn(_("got lock after %d seconds\n") % l.delay) else: - ui.debug("got lock after %s seconds\n" % l.delay) + ui.debug("got lock after %d seconds\n" % l.delay) if l.acquirefn: l.acquirefn() return l