From da83b4f58957197c8f84af792da868f37bb98a71 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Mon, 18 Mar 2019 08:35:37 -0500 Subject: [PATCH] Path: per Werner, fixing bug for function removed from string module in py3 --- src/Mod/Path/PathScripts/PathCircularHoleBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathCircularHoleBase.py b/src/Mod/Path/PathScripts/PathCircularHoleBase.py index 5e82b12e4a..9338b5cb06 100644 --- a/src/Mod/Path/PathScripts/PathCircularHoleBase.py +++ b/src/Mod/Path/PathScripts/PathCircularHoleBase.py @@ -89,7 +89,7 @@ class ObjectOp(PathOp.ObjectOp): Obviously this is as fragile as can be, but currently the best we can do while the panel sheets hide the actual features from Path and they can't be referenced directly. ''' - ids = string.split(sub, '.') + ids = sub.split(".") holeId = int(ids[0]) wireId = int(ids[1]) edgeId = int(ids[2])