Skip to content

python: Avoid using 'is' to compare strings

This is the wrong operator to use, which only seems to work because os.name and 'nt' happen to be the same object. Python 3.8 also produces a SyntaxWarning when encountering this pattern.

Merge request reports