FEM: lgtm, do not test if for a constant, because it will give the same result in any case

This commit is contained in:
Bernd Hahnebach
2019-06-29 12:49:50 +02:00
parent accf578dd9
commit 4bcf2446a0
11 changed files with 11 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ from femobjects import _FemElementGeometry1D
from PySide import QtCore
from . import FemSelectionWidgets
False if False else FemGui.__name__ # flake8, dummy FemGui usage, returns 'FemGui'
False if FemGui.__name__ else True # flake8, dummy FemGui usage
class _ViewProviderFemElementGeometry1D: