FreeCAD: master c2a2effa

Author Committer Branch Timestamp Parent
Sebastian Bachmann yorik master 2020-04-09 18:05:50 master f692494a
Changeset Resolve SyntaxWarning literal comparison in py3.8

Comparison with literals should be done using != and == and not 'is
not' and 'is'.
Found the files using:
find . -name \*.py -exec pylint --disable=all --enable=R0123 --score=no {} \;

Python 3.8 prints out SyntaxWarnings when reading the files, this
would happen for example on every installation.
mod - src/Mod/Fem/femexamples/manager.py Diff File
mod - src/Mod/Fem/feminout/importFenicsMesh.py Diff File
mod - src/Mod/Fem/feminout/writeFenicsXDMF.py Diff File