changeset 48888 | 07a7b57d3e33 |
parent 48875 | 6000f5b25c9b |
child 48913 | f254fc73d956 |
--- a/mercurial/formatter.py Mon Feb 21 10:25:53 2022 -0700 +++ b/mercurial/formatter.py Mon Feb 21 10:26:25 2022 -0700 @@ -558,8 +558,7 @@ def literal_templatespec(tmpl): - if pycompat.ispy3: - assert not isinstance(tmpl, str), b'tmpl must not be a str' + assert not isinstance(tmpl, str), b'tmpl must not be a str' return templatespec(b'', tmpl, None)