[Path] remove unnecessary Python check

we only support Python 3
This commit is contained in:
Uwe
2022-07-31 05:27:03 +02:00
parent 0c02c28cf4
commit d1332def5c

View File

@@ -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)