From 17ebbd16626b32a2aa79a305fe6030fe9a22adc3 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 11 Oct 2021 22:01:44 -0500 Subject: [PATCH] [Arch] Remove redundant else: from while loop --- src/Mod/Arch/ArchWall.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index 1feef163a3..37ebb77c8b 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -878,8 +878,7 @@ class _Wall(ArchComponent.Component): else: cuts2.append(sh) offset += (obj.BlockLength.Value + obj.Joint.Value) - else: - offset -= (edge.Length - obj.Joint.Value) + offset -= (edge.Length - obj.Joint.Value) if isinstance(bplates,list): bplates = bplates[0]