Code: Select all
$ find src/Mod/Material/ -name "*\.py" | grep -v InitGui.py | xargs -I [] flake8 --ignore=E501,E265,E266,E402 []
Code: Select all
src/Mod/Material/MaterialEditor.py:163:31: F821 undefined name 'unicode'
src/Mod/Material/MaterialEditor.py:279:28: F821 undefined name 'unicode'
src/Mod/Material/importFCMat.py:81:29: F821 undefined name 'unicode'
src/Mod/Material/importFCMat.py:124:29: F821 undefined name 'unicode'
https://github.com/FreeCAD/FreeCAD/blob ... or.py#L163
Has this to do with Py3 Py2 ? What is best to be compatible with both Py2 and Py3
bernd
- Best to test after git commit 1051f104
- to open the material editor, go to FEM, make a new document, menu model, materials, material editor, or just click on the material editor icon
- in the material editor you can load and save material cards
I wonder if this works with Py3 ?