changeset 4756:22ffbbba695d

py3: use "%f" for formatting floating point number
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 12 Jul 2019 08:16:30 -0700
parents 8664231b47ac
children c01c9b9d3713
files hgext3rd/pullbundle.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/pullbundle.py	Thu Jul 11 15:30:43 2019 -0700
+++ b/hgext3rd/pullbundle.py	Fri Jul 12 08:16:30 2019 -0700
@@ -168,7 +168,7 @@
         slices = sliceoutgoing(repo, outgoing)
         end = util.timer()
         msg = _('pullbundle-cache: "missing" set sliced into %d subranges '
-                'in %s seconds\n')
+                'in %f seconds\n')
         repo.ui.write(msg % (len(slices), end - start))
         for sliceid, sliceout in slices:
             makeonecgpart(newpart, repo, sliceid, sliceout, version, source, bundlecaps,