From 3ef7d3ce3a7636169e4f117367a0962bfbc571ea Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 13 Oct 2015 08:03:59 +0200 Subject: [PATCH] FEM: put prints in brackets in MechanicalMaterial --- src/Mod/Fem/MechanicalMaterial.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Fem/MechanicalMaterial.py b/src/Mod/Fem/MechanicalMaterial.py index a69e3eca74..f1ade80801 100644 --- a/src/Mod/Fem/MechanicalMaterial.py +++ b/src/Mod/Fem/MechanicalMaterial.py @@ -317,7 +317,7 @@ class _MechanicalMaterialTaskPanel: self.sel_server = ReferenceShapeSelectionObserver(self.selectionParser) def selectionParser(self, selection): - print 'selection: ', selection[0].Shape.ShapeType, ' ', selection[0].Name, ' ', selection[1] + # print('selection: ', selection[0].Shape.ShapeType, ' ', selection[0].Name, ' ', selection[1]) if hasattr(selection[0], "Shape"): if selection[1]: elt = selection[0].Shape.getElement(selection[1]) @@ -328,11 +328,11 @@ class _MechanicalMaterialTaskPanel: self.references.append(selection) self.rebuild_list_References() else: - print selection[0].Name, '-->', selection[1], ' is already in reference list!' + print(selection[0].Name, '-->', selection[1], ' is already in reference list!') else: - print 'Select Edge, Face or Solid!' + print('Select Edge, Face or Solid!') else: - print 'Selection has no shape!' + print('Selection has no shape!') def rebuild_list_References(self): self.form.list_References.clear()