debuginstall: use %d instead of %s for formatting an int
authorAugie Fackler <augie@google.com>
Sun, 09 Oct 2016 09:42:46 -0400
changeset 30130 7be610198360
parent 30129 d69d86e7d6c8
child 30131 85d5708eae4e
debuginstall: use %d instead of %s for formatting an int % formatting on bytes on Python 3 is pickier about which % character we specify.
mercurial/commands.py
--- a/mercurial/commands.py	Sun Oct 09 13:59:20 2016 +0200
+++ b/mercurial/commands.py	Sun Oct 09 09:42:46 2016 -0400
@@ -2787,7 +2787,7 @@
     if not problems:
         fm.data(problems=problems)
     fm.condwrite(problems, 'problems',
-                 _("%s problems detected,"
+                 _("%d problems detected,"
                    " please check your install!\n"), problems)
     fm.end()