eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py

changeset 7628
f904d0eef264
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7626:7f643d41464e 7628:f904d0eef264
92 Public method to retrieve the changelists data. 92 Public method to retrieve the changelists data.
93 93
94 @return tuple containing the changelists (list of strings) and a flag 94 @return tuple containing the changelists (list of strings) and a flag
95 indicating to keep changelists (boolean) 95 indicating to keep changelists (boolean)
96 """ 96 """
97 slists = [l.text().strip() for l in self.changeLists.selectedItems() 97 slists = [line.text().strip()
98 if l.text().strip() != ""] 98 for line in self.changeLists.selectedItems()
99 if line.text().strip() != ""]
99 100
100 if len(slists) == 0: 101 if len(slists) == 0:
101 return [], False 102 return [], False
102 103
103 return slists, self.keepChangeListsCheckBox.isChecked() 104 return slists, self.keepChangeListsCheckBox.isChecked()

eric ide

mercurial