changeset 30130:7be610198360

debuginstall: use %d instead of %s for formatting an int % formatting on bytes on Python 3 is pickier about which % character we specify.
author Augie Fackler <augie@google.com>
date Sun, 09 Oct 2016 09:42:46 -0400
parents d69d86e7d6c8
children 85d5708eae4e
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()