Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 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 | e37ee8367ab4 |
children | 165c9526e594 |
comparison
equal
deleted
inserted
replaced
30129:d69d86e7d6c8 | 30130:7be610198360 |
---|---|
2785 fm.condwrite(not problems, '', | 2785 fm.condwrite(not problems, '', |
2786 _("no problems detected\n")) | 2786 _("no problems detected\n")) |
2787 if not problems: | 2787 if not problems: |
2788 fm.data(problems=problems) | 2788 fm.data(problems=problems) |
2789 fm.condwrite(problems, 'problems', | 2789 fm.condwrite(problems, 'problems', |
2790 _("%s problems detected," | 2790 _("%d problems detected," |
2791 " please check your install!\n"), problems) | 2791 " please check your install!\n"), problems) |
2792 fm.end() | 2792 fm.end() |
2793 | 2793 |
2794 return problems | 2794 return problems |
2795 | 2795 |