From d1332def5cdd15281daa556980fc4f36c11cc8fe Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 31 Jul 2022 05:27:03 +0200 Subject: [PATCH] [Path] remove unnecessary Python check we only support Python 3 --- src/Mod/Path/PathTests/TestPathVoronoi.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Mod/Path/PathTests/TestPathVoronoi.py b/src/Mod/Path/PathTests/TestPathVoronoi.py index 90125677ca..c75850570a 100644 --- a/src/Mod/Path/PathTests/TestPathVoronoi.py +++ b/src/Mod/Path/PathTests/TestPathVoronoi.py @@ -25,7 +25,6 @@ import Part import Path import PathScripts.PathGeom as PathGeom import PathTests.PathTestUtils as PathTestUtils -import sys vd = None @@ -57,10 +56,7 @@ def initVD(): vd.construct() for e in vd.Edges: - if sys.version_info.major > 2: - e.Color = 0 if e.isPrimary() else 1 - else: - e.Color = long(0) if e.isPrimary() else long(1) + e.Color = 0 if e.isPrimary() else 1 vd.colorExterior(2) vd.colorColinear(3)