eric6/Preferences/ProgramsDialog.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7198
684261ef2165
--- a/eric6/Preferences/ProgramsDialog.py	Sat Aug 31 12:29:57 2019 +0200
+++ b/eric6/Preferences/ProgramsDialog.py	Sat Aug 31 12:58:11 2019 +0200
@@ -8,10 +8,6 @@
 """
 
 from __future__ import unicode_literals
-try:
-    str = unicode
-except NameError:
-    pass
 
 import os
 import re
@@ -144,7 +140,7 @@
         # 2.1b. Forms Compiler PyQt4
         self.__createProgramEntry(
             self.tr("Forms Compiler (Python, PyQt4)"),
-            Utilities.generatePyQtToolPath("pyuic4", ["py3uic4", "py2uic4"]),
+            Utilities.generatePyQtToolPath("pyuic4", ["py3uic4"]),
             '--version', 'Python User', 4)
         # 2.1c. Resource Compiler PyQt4
         self.__createProgramEntry(
@@ -161,7 +157,7 @@
         # 2.2b. Forms Compiler PyQt5
         self.__createProgramEntry(
             self.tr("Forms Compiler (Python, PyQt5)"),
-            Utilities.generatePyQtToolPath("pyuic5", ["py3uic5", "py2uic5"]),
+            Utilities.generatePyQtToolPath("pyuic5", ["py3uic5"]),
             '--version', 'Python User', 4)
         # 2.2c. Resource Compiler PyQt5
         self.__createProgramEntry(

eric ide

mercurial