From 4dd623466dcc50ab005861734cd5c27e0299ba23 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 31 Jul 2022 05:27:45 +0200 Subject: [PATCH] [PD] remove unnecessary Python check we only support Python 3 --- src/Mod/PartDesign/fcgear/involute.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Mod/PartDesign/fcgear/involute.py b/src/Mod/PartDesign/fcgear/involute.py index d8349a972b..057ccfa9ed 100644 --- a/src/Mod/PartDesign/fcgear/involute.py +++ b/src/Mod/PartDesign/fcgear/involute.py @@ -24,9 +24,7 @@ from math import cos, sin, pi, acos, atan, sqrt -import sys -if sys.version_info.major >= 3: - xrange = range +xrange = range def CreateExternalGear(w, m, Z, phi, split=True):