From 53091320c6e06a393f8beda64925fcf53b819950 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Wed, 2 Dec 2020 11:34:49 -0600 Subject: [PATCH] Path: Swap list instantiation per senior devs specifications --- src/Mod/Path/PathScripts/PathMillFace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathMillFace.py b/src/Mod/Path/PathScripts/PathMillFace.py index 0400bd7f31..e87a24e80b 100644 --- a/src/Mod/Path/PathScripts/PathMillFace.py +++ b/src/Mod/Path/PathScripts/PathMillFace.py @@ -106,7 +106,7 @@ class ObjectFace(PathPocketBase.ObjectPocket): if obj.Base: PathLog.debug("obj.Base: {}".format(obj.Base)) - self.removalshapes = list() + self.removalshapes = [] faces = [] holes = [] holeEnvs = [] @@ -239,7 +239,7 @@ class ObjectFace(PathPocketBase.ObjectPocket): # If the operation has a geometry identified the Finaldepth # is the top of the boundbox which includes all features. if len(obj.Base) >= 1: - shapes = list() + shapes = [] for base, subs in obj.Base: for s in subs: shapes.append(getattr(base.Shape, s))