Fix 8.9.0 < 8.10.0 comparison in smokeTestRelease.py script. (#2509)

This commit is contained in:
Christine Poerschke 2021-06-08 15:44:59 +01:00
parent 84499732c1
commit 1ec2a715a2
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ def versionToTuple(version, name):
versionTuple = versionTuple[:-2] + ('100',)
elif versionTuple[-1].lower()[:2] == 'rc':
versionTuple = versionTuple[:-2] + (versionTuple[-1][2:],)
return versionTuple
return tuple(int(x) if x is not None and x.isnumeric() else x for x in versionTuple)
reUnixPath = re.compile(r'\b[a-zA-Z_]+=(?:"(?:\\"|[^"])*"' + '|(?:\\\\.|[^"\'\\s])*' + r"|'(?:\\'|[^'])*')" \