[FEM] remove unneeded checks for Python 3

since we only support Python >=3, these checks can go
This commit is contained in:
Uwe
2022-07-31 02:42:39 +02:00
parent eabffee3a5
commit 529c48cca4
11 changed files with 22 additions and 67 deletions

View File

@@ -31,7 +31,6 @@ __url__ = "https://www.freecadweb.org"
# \brief FreeCAD FEM _ViewProviderFemMaterial
# \brief task panel for common material object
import sys
from PySide import QtCore
from PySide import QtGui
@@ -42,8 +41,7 @@ from FreeCAD import Units
from femguiutils import selection_widgets
if sys.version_info.major >= 3:
unicode = str
unicode = str
class _TaskPanel: