diff -r 960850ec284c -r a22eee00b052 setup.py --- a/setup.py Sat Aug 31 12:29:57 2019 +0200 +++ b/setup.py Sat Aug 31 12:58:11 2019 +0200 @@ -137,8 +137,7 @@ pass try: hgOut = subprocess.check_output(["hg", "identify", "-i"]) - if sys.version_info[0] == 3: - hgOut = hgOut.decode() + hgOut = hgOut.decode() except (OSError, subprocess.CalledProcessError): hgOut = "" if hgOut: