##// END OF EJS Templates
hghave: fix bytes/string issue on Python 3
Augie Fackler -
r43724:c3bca833 stable
parent child Browse files
Show More
@@ -987,4 +987,4 b' def has_black():'
987 987 version_regex = b'black, version ([0-9a-b.]+)'
988 988 version = matchoutput(blackcmd, version_regex)
989 989 sv = distutils.version.StrictVersion
990 return version and sv(version.group(1)) >= sv('19.10b0')
990 return version and sv(_strpath(version.group(1))) >= sv('19.10b0')
General Comments 0
You need to be logged in to leave comments. Login now