Submitter | phabricator |
---|---|
Date | March 2, 2022, 11:30 p.m. |
Message ID | <differential-rev-PHID-DREV-63f4pzke4jbh5v63i36h-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50632/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/formatter.py b/mercurial/formatter.py --- a/mercurial/formatter.py +++ b/mercurial/formatter.py @@ -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)