eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesGuardsSelectionDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8273
698ae46f40a4
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
25 @param guards list of guards to select from (list of strings) 25 @param guards list of guards to select from (list of strings)
26 @param activeGuards list of active guards (list of strings) 26 @param activeGuards list of active guards (list of strings)
27 @param listOnly flag indicating to only list the guards (boolean) 27 @param listOnly flag indicating to only list the guards (boolean)
28 @param parent reference to the parent widget (QWidget) 28 @param parent reference to the parent widget (QWidget)
29 """ 29 """
30 super(HgQueuesGuardsSelectionDialog, self).__init__(parent) 30 super().__init__(parent)
31 self.setupUi(self) 31 self.setupUi(self)
32 32
33 for guard in guards: 33 for guard in guards:
34 itm = QListWidgetItem(guard, self.guardsList) 34 itm = QListWidgetItem(guard, self.guardsList)
35 if activeGuards is not None and guard in activeGuards: 35 if activeGuards is not None and guard in activeGuards:

eric ide

mercurial