From 04a8bf6a298d6ea7167d8ec8ec80fff4db39ce04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 17 Apr 2018 11:01:59 +0200 Subject: [PATCH] fix syntax error for python3 --- src/Mod/Arch/ArchWall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index 57764169d3..e6f8790ce6 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -611,9 +611,9 @@ class _Wall(ArchComponent.Component): if hasattr(obj,"MakeBlocks"): fvol = obj.BlockLength.Value * obj.BlockHeight.Value * obj.Width.Value if fvol: - print "base volume:",fvol + print("base volume:",fvol) for s in base.Solids: - print abs(s.Volume - fvol) + print(abs(s.Volume - fvol)) ents = [s for s in base.Solids if abs(s.Volume - fvol) < 1] obj.CountEntire = len(ents) obj.CountBroken = len(base.Solids) - len(ents)