FEM: code formating, line length < 100, there still where some left

This commit is contained in:
Bernd Hahnebach
2019-05-27 22:27:51 +02:00
parent 63f3453189
commit d682d3ea6e
4 changed files with 33 additions and 10 deletions

View File

@@ -207,7 +207,8 @@ class _ViewProviderFemMeshGmsh:
return True
def dragObject(self, selfvp, dragged_object):
if hasattr(dragged_object, "Proxy") and dragged_object.Proxy.Type == "Fem::FemMeshBoundaryLayer":
if hasattr(dragged_object, "Proxy") \
and dragged_object.Proxy.Type == "Fem::FemMeshBoundaryLayer":
objs = self.Object.MeshBoundaryLayerList
objs.remove(dragged_object)
self.Object.MeshBoundaryLayerList = objs