diff -r f7cb83647621 -r 72721823d453 eric6/Preferences/ConfigurationDialog.py --- a/eric6/Preferences/ConfigurationDialog.py Sun May 31 17:26:46 2020 +0200 +++ b/eric6/Preferences/ConfigurationDialog.py Sat Jul 04 11:45:34 2020 +0200 @@ -97,14 +97,6 @@ @keyparam expandedEntries list of entries to be shown expanded (list of strings) """ - assert displayMode in ( - ConfigurationWidget.DefaultMode, - ConfigurationWidget.HelpBrowserMode, - ConfigurationWidget.TrayStarterMode, - ConfigurationWidget.HexEditorMode, - ConfigurationWidget.WebBrowserMode, - ) - super(ConfigurationWidget, self).__init__(parent) self.fromEric = fromEric self.displayMode = displayMode @@ -230,9 +222,6 @@ "debuggerGeneralPage": [self.tr("General"), "preferences-debugger", "DebuggerGeneralPage", "0debuggerPage", None], - "debuggerPython2Page": - [self.tr("Python2"), "preferences-pyDebugger", - "DebuggerPython2Page", "0debuggerPage", None], "debuggerPython3Page": [self.tr("Python3"), "preferences-pyDebugger", "DebuggerPython3Page", "0debuggerPage", None],