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

@@ -36,7 +36,7 @@ import FemGui # needed to display the icons in TreeView
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 _ViewProviderFemElementGeometry2D: