Mercurial > hg
changeset 48894:5917dc5d1e52
extensions: remove superfluous pycompat.ispy3 check
This is always True now.
Differential Revision: https://phab.mercurial-scm.org/D12297
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 10:31:53 -0700 |
parents | 895085109842 |
children | 62baa61efe8f |
files | mercurial/extensions.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/extensions.py Mon Feb 21 10:31:00 2022 -0700 +++ b/mercurial/extensions.py Mon Feb 21 10:31:53 2022 -0700 @@ -875,7 +875,7 @@ a = node.args[0] if isinstance(a, ast.Str): name = pycompat.sysbytes(a.s) - elif pycompat.ispy3 and isinstance(a, ast.Bytes): + elif isinstance(a, ast.Bytes): name = a.s else: continue