eric6/Preferences/ViewProfileDialog.py

changeset 8218
7c09585bd960
parent 8205
4a0f1f896341
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
28 @param debugVisibilities list of flags giving the visibilities 28 @param debugVisibilities list of flags giving the visibilities
29 of the various parts for the 'debug' view profile (list of boolean) 29 of the various parts for the 'debug' view profile (list of boolean)
30 @param parent parent widget of this dialog (QWidget) 30 @param parent parent widget of this dialog (QWidget)
31 @exception ValueError raised to indicate an invalid layout 31 @exception ValueError raised to indicate an invalid layout
32 """ 32 """
33 super(ViewProfileDialog, self).__init__(parent) 33 super().__init__(parent)
34 34
35 if layout not in ("Toolboxes", "Sidebars"): 35 if layout not in ("Toolboxes", "Sidebars"):
36 raise ValueError( 36 raise ValueError(
37 "Illegal layout given ({0}).".format(self.__layout)) 37 "Illegal layout given ({0}).".format(self.__layout))
38 38

eric ide

mercurial