Merge pull request #2541 from Syres916/patch-4

[Path] Fix xrange bug with Py3
This commit is contained in:
sliptonic
2019-09-24 15:36:52 -05:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
@@ -29,6 +29,10 @@ import PathScripts.PathOpGui as PathOpGui
from PySide import QtCore, QtGui
import sys
if sys.version_info.major >= 3:
xrange = range
__title__ = "Base for Circular Hole based operations' UI"
__author__ = "sliptonic (Brad Collette)"
__url__ = "http://www.freecadweb.org"
+4
View File
@@ -35,6 +35,10 @@ import PathScripts.PathOp as PathOp
from PySide import QtCore
import sys
if sys.version_info.major >= 3:
xrange = range
__title__ = "Path Surface Operation"
__author__ = "sliptonic (Brad Collette)"
__url__ = "http://www.freecadweb.org"